EXIT from within an application [message #92253] |
Thu, 05 November 2015 07:34  |
markb77
Messages: 217 Registered: July 2006
|
Senior Member |
|
|
I'm splitting this topic into a separate thread.
My question is, is it possible to kill IDL from within an IDL procedure? I want IDL to close when my application object exits. Can I use the following line of code:
EXIT, STATUS=0
in the cleanup method of my object in order to achieve the desired behavior?
thanks
Mark
|
|
|
Re: EXIT from within an application [message #92276 is a reply to message #92253] |
Mon, 09 November 2015 09:31  |
chris_torrence@NOSPAM
Messages: 528 Registered: March 2007
|
Senior Member |
|
|
On Thursday, November 5, 2015 at 8:34:54 AM UTC-7, superchromix wrote:
> I'm splitting this topic into a separate thread.
>
> My question is, is it possible to kill IDL from within an IDL procedure? I want IDL to close when my application object exits. Can I use the following line of code:
>
> EXIT, STATUS=0
>
> in the cleanup method of my object in order to achieve the desired behavior?
>
> thanks
> Mark
Sure, go for it! Only caveat - you might want to make sure IDL has closed all files, etc., depending upon your application.
-Chris
|
|
|