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 
Switch to threaded view of this topic Create a new topic Submit Reply
"Variable undefined" error in LOADCT? [message #61444] Wed, 16 July 2008 17:20 Go to next 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?
Re: "Variable undefined" error in LOADCT? [message #61496 is a reply to message #61444] Thu, 17 July 2008 18:37 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Ed Hyer writes:

> OK. SHORT ANSWER: Ran out of LUNs. Somewhere one of my routines isn't
> cleaning up after itself.

Ah, good. I was worried about you. :-)

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: "Variable undefined" error in LOADCT?
Next Topic: edit .sav file

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

Current Time: Mon Oct 13 04:28:01 PDT 2025

Total time taken to generate the page: 3.18554 seconds