Re: DELVAR in IDL7.0 for windows [message #57719 is a reply to message #57582] |
Mon, 17 December 2007 11:14  |
jdshaw
Messages: 7 Registered: October 2007
|
Junior Member |
|
|
Hi guys,
Here is the originalmessage I sent to ITT:
--- Original Web Submission ---
Since upgrading to IDL 7.0, delvar on the command line only deletes
the first variable listed and ignores the rest. This is rather
annoying.
If var1, var2, var3 are defined and we do DELVAR, var1, var2, var3
only var1 is deleted, we must use delvar seperately for each variable.
Is there a fix?
------- ITT RESPONSE -----
Actually, all three variables are deleted. The problem is with the
logic of the Variables View window, which is not updating properly.
That is, after your DELVAR call, you will see with "IDL> HELP" that
all three variables are no longer listed in the HELP output. Also, the
calls "IDL> print, var1" or "IDL> print, var2" will both produce
"Variable is undefined" errors. In short, the underlying functionality
of the call to the IDL process is fine, but the associated process
governing the IDL Workbench has a bug.
I have entered new report C.R.I.D. #50135 ("After a DELVAR Call with
Multiple Args, Only the First Arg Is Removed from the Variables View")
in our bug-tracking system. Until then, the only workaround I can
suggest is to remember to run DELVAR with just one arg per execution.
Sorry for this temporary inconvenience.
|
|
|