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

Home » Public Forums » archive » Re: command upon exit
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: command upon exit [message #79718] Tue, 27 March 2012 08:08
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Russell writes:

> I know you can issue commands to run at startup (such as by setting
> the IDL_STARTUP variable), but can you have IDL execute a set of
> commands upon exit? I want IDL to do a few basic things every time I
> type "exit" at the IDL prompt....

I would write a "Quit" procedure and retrain
your fingers to type "quit" instead of "exit".
Won't help if you kill IDL with the mouse, but
it's something...

Cheers,

David


--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: command upon exit
Next Topic: Re: Matrix algebra and index order, A # B vs A ## B

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

Current Time: Wed Oct 08 18:52:18 PDT 2025

Total time taken to generate the page: 0.00523 seconds