Coyote's Guide to IDL Programming

Deleting IDL Procedures and Functions

QUESTION: Is it possible to delete all the currently compiled procedures and functions in the IDL session?

ANSWER: No, sorry. Not to my knowledge. Exiting IDL is the only way to completely clean up the IDL program space.

Note: I hear unconfirmed rumors of this functionality coming in IDL 5.3. The beta program for IDL 5.3 is just beginning, so stay tuned.

IDL 5.3 has been released, and there is indeed a new way to delete all currently compiled procedures and functions in the IDL session. It is a new executive command named .Reset_Session. It simply works like this:

   IDL> .Reset_Session

If you want to reset everything, then you can use this:

   IDL> .Full_Reset_Session

This latter command can also be access via the undocumented exectutive command .Reset_All.

Google
 
Web Coyote's Guide to IDL Programming