DIASTAT

Stores information about the method used to exit the most recently used dialog box.

Type:     Integer (read-only)

Saved:     Temporarily during the session

Range:     0 (Cancel), 1 (OK)

Default:     1