Re: error_state.code [message #43242] |
Thu, 24 March 2005 06:40 |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
Bringfried Stecklum writes:
> back in the times of 5.6 I wrote a program which accepts input from /dev/stdin. I used
> the on_ioerror command to test the end of the input, i.e. a ^D at the prompt yielded the
> !error_state.code of -236 which was used to terminate the input. I noticed that this piece of
> software did not work anymore with IDL 6.1. The reason is that the error_state codes obviously
> differ: EOF is now -265. Can a brave soul point me to the section of the documentation where
> these codes are summarized (as well as the changes). I have not found that yet.
IDL> for j=0,1040 do print, StrTrim(j,2) + ' ', strmessage(j)
RSI points out in the STRMESSAGE help that error codes can change over
time.
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
|
|
|