"Variable undefined" error in LOADCT? [message #61444] |
Wed, 16 July 2008 17:20  |
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?
|
|
|
|