comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: error_state.code
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: error_state.code [message #43242] Thu, 24 March 2005 06:40
David Fanning is currently offline  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/
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: error_state.code
Next Topic: paralel/serial ports

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sat Oct 11 13:55:05 PDT 2025

Total time taken to generate the page: 1.28100 seconds