EXIT

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.

Calling Sequence

EXIT

Keywords

NO_CONFIRM

Set this keyword to suppress any confirmation dialog that would otherwise be displayed in a GUI version of IDL such as the IDL Development Environment.

STATUS

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:

$ idl ; Start IDL

IDL> exit, status=45 ; Exit, specifying exit status 45

$ echo $? ; Display last exit status code

45

See Also

CLOSE , FLUSH , STOP , WAIT