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

Home » Public Forums » archive » Stupid Question#1
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: Stupid Question [message #15018 is a reply to message #13314] Mon, 12 April 1999 00:00 Go to previous message
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
Howard Onishi (htonishi@home.com) writes:

> Is there any way to kill all variables and compiled procedures within an IDL
> session other than quitting and restarting IDL? In particular I would like
> IDL to recompile all .pro files used in a program.

Here is a little program that will destroy all your main-
level variables for you:

PRO NO_MAS
END

Whenever you want all main-level variables to disappear,
type this:

IDL> .Run No_Mas

I don't know of any way to re-compile all the currently
compiled procedures and functions, but you might try
catching the names of all the compiled routines with
something like this:

Help, /Routines, Output=theseNames

Then you could parse the "theseNames" string array
and use Resolve_Routine on each of the names.

Are you offering money to the person who writes this
program?

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438 E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: CW_PDMENU, changing
Next Topic: arrays within structures

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

Current Time: Sat Oct 11 10:10:50 PDT 2025

Total time taken to generate the page: 0.88109 seconds