============ The Euphoria Mailing List ============
posted by: Derek Parnell [ddparnell at bigpond.com]
duke normandin wrote: ] ] Hi... ] ] Does Euphoria have a way of redirecting errors to STDERR instead of writing ] to ] ex.err? ] ] Apache has been puking a bunch of '500 pages' because of my newbee syntax ] errors. It would be nice if these errors would be redirected to STDOUT or ] STDERR - preferably to the screen so that they would be obvious. Any ideas? ] TIA....
You didn't say if you're using Linux or Win32 but you could add these lines to the top of your code ...
[eucode] include machine.e if platform[] ] 2 then -- Linux, Unix crash_file['/dev/tty'] else -- DOS, Win32 crash_file['con:'] end if crash_message[' ** PROGRAM CRASHED **'] [/eucode]
-- Derek Parnell Melbourne, Australia Skype name: derek.j.parnell
--^---------------------------------------------------------------- This email was sent to: [email removed]
Or send an email to: [email removed]
For Topica's complete suite of email marketing solutions visit: http://www.topica.com/?p=TEXFOOTER --^----------------------------------------------------------------