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

Home » Public Forums » archive » "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
"Variable undefined" error in LOADCT? [message #61444] Wed, 16 July 2008 17:20 Go to previous message
MarioIncandenza is currently offline  MarioIncandenza
Messages: 231
Registered: February 2005
Senior Member
Hi IDL Wizards,

This one is interesting. Basically, I'm running a batch graphics
routine making a bunch of plots, and periodically LOADCT gets called,
in this form:

LOADCT,39,/silent

Now, lately this routine will run for a while (several plots) and then
break, with the error:

% Variable is undefined: FILENAME.
% Error occurred at: LOADCT 180

Here is the relevant code from loadct.pro:

if (n_elements(file) GT 0) then filename = file $
else filename = filepath('colors1.tbl', subdir=['resource', 'colors'])
openr,lun, filename, /block

Has anyone ever seen this error?
[Message index]
 
Read Message
Read Message
Previous Topic: Re: "Variable undefined" error in LOADCT?
Next Topic: edit .sav file

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

Current Time: Sun Oct 12 11:16:46 PDT 2025

Total time taken to generate the page: 1.04177 seconds