System Variable DIASTAT

Mnemonic: Dialog Status

Returns the exit status of the most recently used dialog box of a built-in command. The variable does not reflect the exit status of standard file dialog boxes such as Open File, Save As, or Select File.

Values

0 Dialog box has been terminated by clicking Cancel.
1 Dialog box has been terminated by clicking OK.

Properties

Type Integer
Default 0
Status Read-Only
Saved Not saved

Related Variables

CMDNAMES

CMDACTIVE