# CMDACTIVE System Variable [GstarCAD 2015](../../Index.md) → [System Variables](../%28System%20Variables%29.md) → [C](%28C%29.md) | | | | --- | --- | | (Read-only) | | | Type | Integer | | Saved-in | Not-saved | | Initial value | 1 | | Range | 1-31 | Indicates whether an ordinary command, transparent command, script, or dialog box is active. The setting is stored as a bitcode using the sum of the following values: 1 Ordinary command is active 2 Transparent command is active 4 Script is active 8 Dialog box is active 16 DDE or LISP is active --- ## Other versions with matching text [GstarCAD 8 (2013–2014)](../../../2013/System%20Variables/C/CMDACTIVE%20System%20Variable--67d4fe2e9d6f.md)