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

Home » Public Forums » archive » Active main program terminated by call to DELVAR when using Delvar
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
Active main program terminated by call to DELVAR when using Delvar [message #87154] Sat, 11 January 2014 05:52 Go to next message
Gompie is currently offline  Gompie
Messages: 76
Registered: August 2012
Member
Hi,
I am using delvar,var1,var2,var3.... to free up memory in my main program. But i get
Active main program terminated by call to DELVAR.
Any help...
GlanPlon
Re: Active main program terminated by call to DELVAR when using Delvar [message #87155 is a reply to message #87154] Sat, 11 January 2014 06:19 Go to previous messageGo to next message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Gompie writes:

> I am using delvar,var1,var2,var3.... to free up memory in my main program. But i get
> Active main program terminated by call to DELVAR.

I have to admit, I've never seen that error before! You could try
UNDEFINE, from the Coyote Library.

Cheers,

David



--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thue. ("Perhaps thou speakest truth.")
Re: Active main program terminated by call to DELVAR when using Delvar [message #87156 is a reply to message #87154] Sat, 11 January 2014 07:58 Go to previous messageGo to next message
Matthew Argall is currently offline  Matthew Argall
Messages: 286
Registered: October 2011
Senior Member
> Active main program terminated by call to DELVAR.

I have tried using delvar before... It terminates the program, sort of like an "end". From the online help:

"If a main program is created with the .RUN or .RNEW command, then each time DELVAR is called, this main program is erased."

I now use it when I am messing around at the command line and want to get rid of all the junk I created.
Re: Active main program terminated by call to DELVAR when using Delvar [message #87157 is a reply to message #87156] Sat, 11 January 2014 09:11 Go to previous message
Gompie is currently offline  Gompie
Messages: 76
Registered: August 2012
Member
Thanks Dave, Matthew Undefine works well.
GlanPlon !!!
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: String array Read and Write
Next Topic: NCDF_OPEN: Unable to open the file "(null)". (NC_ERROR=-31)

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

Current Time: Wed Oct 08 15:14:30 PDT 2025

Total time taken to generate the page: 0.00500 seconds