Re: crash feature request
- Posted by Ryan W. Johnson <ryanj at fluidae.com> Mar 25, 2006
- 521 views
Robert Craig wrote: > > Ryan W. Johnson wrote: > > My proposal is: since you can call crash_file("") to suppress ex.err, do you > > think you could make it so that crash_message("") will just suppress the > > message > > on the screen? That way the error file can still be generated, but then the > > program will just end without making a console window appear. > > > > I think this would be a useful option for programs that are intended to be > > background > > services that are never supposed to put anything on the screen. > > Yes. That was on my (big) list. > I'll try to do it for 3.0, since it > should be fairly easy. Thanks, Rob. While we're on the subject of error messages, what do you think about adding a procedure that could generate a custom run-time error? Such as:
error("Data is corrupt.")
It would cause the program to generate an ex.err file with the custom error message and behave like any other run-time error. ~Ryan W. Johnson Fluid Application Environment http://www.fluidae.com/ [cool quote here, if i ever think of one...]