# DIASTAT System Variable [GstarCAD 2015](../../Index.md) → [System Variables](../%28System%20Variables%29.md) → [D](%28D%29.md) | | | | --- | --- | | Type | Integer | | Saved-in | Not saved | | Initial value | None | | Range | 0,1 | Stores the exit method of the most recently used dialog box. 0 Cancel 1 Ok --- ## Other versions with matching text [GstarCAD 8 (2013–2014)](../../../2013/System%20Variables/D/DIASTAT%20System%20Variable--1f22cff8eca3.md)