Re: crash_message() problem
- Posted by "Juergen Luethje" <j.lue at gmx.de> Dec 11, 2004
- 437 views
Tommy Carlier wrote: > Juergen Luethje wrote: <snip> >> ... Euphoria prints the following error message on the screen: >> -=-=-=-=-=-=-=-=-=-=-=-=- >> C:\Desktop\test.exw:10 >> ad has not been declared >> ? ad(1,2) >> ^ >> -=-=-=-=-=-=-=-=-=-=-=-=- >> (tested with exw.exe 2.4 and 2.5 alpha). >> >> But it should print my message instead, shouldn't it? > > I don't think so: crash_message is used for runtime errors. > This is a compile error. If crash_message() is used only for runtime errors, then there is an error in the documentation (Eu 2.5 alpha, lib_c_d.htm#crash_message): <quote> Description: Specify a string, s, to be printed on the screen in the event that Euphoria must stop your program due to a compile-time or run-time error. </quote> Regards, Juergen -- Have you read a good program lately?