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

Home » Public Forums » archive » Re: DELVAR in IDL7.0 for windows
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
Re: DELVAR in IDL7.0 for windows [message #57582] Mon, 17 December 2007 06:22 Go to next message
Spon is currently offline  Spon
Messages: 178
Registered: September 2007
Senior Member
On Dec 17, 1:57 pm, David Fanning <n...@dfanning.com> wrote:
> Spon writes:
>> maybe it's just something about the way I've got things set up, but I
>> can't seem to get Variable Watch to update correctly after I use
>> DELVAR to delete more than one variable at a time since I upgraded to
>> v7.0
> Yes, looks like a bug to me. Have you reported it?
>
> Cheers,
>
> David

I've sent a report to ITT. I can mail you one using your report
template once I get a response from them. That way I can fill in all
the required fields :-)

Take care,
Chris
Re: DELVAR in IDL7.0 for windows [message #57584 is a reply to message #57582] Mon, 17 December 2007 05:57 Go to previous messageGo to next message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Spon writes:

> maybe it's just something about the way I've got things set up, but I
> can't seem to get Variable Watch to update correctly after I use
> DELVAR to delete more than one variable at a time since I upgraded to
> v7.0 - is anyone else having this problem?
>
>> a=1&b=2
>> delvar,a,b
> ; check variable watch -> still says b is defined as value 2, type INT
>> help,b
> IDL> B UNDEFINED = <Undefined>
>
> As far as I can tell this seems to happen to all parameters that
> DELVAR is called with after the first one, which is handled correctly.
> Can anyone replicate this?

Yes, looks like a bug to me. Have you reported it?

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.")
Re: DELVAR in IDL7.0 for windows [message #57719 is a reply to message #57582] Mon, 17 December 2007 11:14 Go to previous message
jdshaw is currently offline  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.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: TAB in IDLWAVE
Next Topic: Re: TAB in IDLWAVE

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

Current Time: Thu Oct 09 23:39:37 PDT 2025

Total time taken to generate the page: 0.40051 seconds