From: Alan W. I. <ir...@be...> - 2007-08-20 19:47:06
|
On 2007-08-20 13:06-0500 Maurice LeBrun wrote: > Andrew Ross writes: > > > > Works for me. Although some suitable phrasing to distinguish between > > plwarn and plabort would be be good. plabort is aborting the function > > so will probably produce odd results, but it is not fatal and is not > > aborting whole program. > > Sorry for not responding until now. The history of this IIRC is that all > plabort's were at one time plexit's. However since that was very unfriendly > to interactive applications e.g. plotting GUI's, the behavior was changed > but the phrasing remained roughly the same. It *is* still an error, in > that the function is aborted (and in some cases there may be associated memory > leakage), so I'm not sure WARNING conveys the right meaning either. But > either is ok with me. Hi Maurice: Thanks for that explanation. I have proposed a delayed call to exit (at plend) to return a status code for plabort. I would be interested in your comments on that proposal. If you feel it would create a problem for GUI's then forget it. Alan __________________________ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations with the FreeEOS equation-of-state implementation for stellar interiors (freeeos.sf.net); PLplot scientific plotting software package (plplot.org); the libLASi project (unifont.org/lasi); the Loads of Linux Links project (loll.sf.net); and the Linux Brochure Project (lbproject.sf.net). __________________________ Linux-powered Science __________________________ |