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

Home » Public Forums » archive » Re: delvar v/s reset_session
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: delvar v/s reset_session [message #22078] Tue, 24 October 2000 00:00
promashkin is currently offline  promashkin
Messages: 169
Registered: December 1999
Senior Member
All I can say is that the following was found in the IDL online help:

The DELVAR procedure deletes variables from the main IDL program level.
DELVAR frees any memory used by the variable and removes it from the
main program's symbol table. The following restrictions apply:
1. DELVAR can only be called from the main program level.
2. Each time DELVAR is called, the main program is erased. Variables
that are not deleted remain unchanged.

Maybe, you should not use DELVAR in your code. If you worry about the
size of temporary variables, you can un-define them using TEMPORARY or
re-assign them to 0B.
Cheers,
Pavel

"Vinay L. Kashyap" wrote:
>
> Puzzle: Somehow, using .RESET_SESSION in between DELVARs seems
> to confuse the IDL environment. Now, I believe using DELVAR
> inside even a main program is frowned upon (I don't know why),
> but this seems very bizarre.r
[Message index]
 
Read Message
Previous Topic: Re: Non-linear axis
Next Topic: Re: NO MORE GIF READ OR WRITE IN IDL 5.4

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

Current Time: Fri Oct 10 01:46:13 PDT 2025

Total time taken to generate the page: 0.24193 seconds