The EXIT procedure quits IDL and exits back to the operating system. All buffers are flushed and open files are closed. The values of all variables that were not saved are lost.
EXIT [, /NO_CONFIRM] [, STATUS=code]
None.
Set this keyword to suppress any confirmation dialog that would otherwise be displayed in a GUI version of IDL such as the IDL Workbench.
Set this keyword equal to an exit status code that will be returned when IDL exits. For example, on a UNIX system using the Bourne shell:
Start IDL:
$ idl
Exit IDL specifying exit status 45:
exit, status=45
Display last exit status code:
$ echo $?
The following displays:
45
Original |
Introduced |