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

Home » Public Forums » archive » Re: "Variable undefined" error in LOADCT?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: "Variable undefined" error in LOADCT? [message #61499 is a reply to message #61439] Thu, 17 July 2008 17:47 Go to previous message
MarioIncandenza is currently offline  MarioIncandenza
Messages: 231
Registered: February 2005
Senior Member
OK. SHORT ANSWER: Ran out of LUNs. Somewhere one of my routines isn't
cleaning up after itself.

LONG ANSWER: The LOADCT routine uses error redirection to spew a
generic error message on IO errors. Here is the code for this
redirection:

on_ioerror, bad
<...>
bad:
message, /CONTINUE, 'Error reading file: ' + filename + ', ' + !
error_state.msg

Now, LOADCT wants to read a file with the color table, and that error
is intended to tell you if the color table you want is missing. But
before the FILENAME is even set by LOAD_CT, it runs GET_LUN to assign
an LUN to read the file. When that command fails, it goes to 'bad' and
then it croaks because FILENAME isn't defined.

--Edward H.
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: widget for incrementing/decrementing an integer
Next Topic: "Variable undefined" error in LOADCT?

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

Current Time: Mon Apr 27 15:34:21 PDT 2026

Total time taken to generate the page: 0.24084 seconds