# CMDACTIVE System Variable
[GstarCAD 2012](../../Index.md) → [System Variables](../%28System%20Variables%29.md) → [C](%28C%29.md)
| | |
| --- | --- |
| (Read-only) | |
| Type | Integer |
| Saved-in | Not-saved |
| Initial value | None |
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 2011](../../../2011/System%20Variables/C/CMDACTIVE%20System%20Variable--5607c0fd2903.md)