# (getvar sysvar)
[GstarCAD 2011](../../../Index.md) → [Developer Reference](../../%28Developer%20Reference%29.md) → [AutoLISP Reference](../%28AutoLISP%20Reference%29.md) → [LISP Functions](%28LISP%20Functions%29.md)
<a id="195"></a>
## (getvar sysvar)
---
Determine the value of that system variable.
---
The **getvar** function retrieves and displays the current settings for GstarCAD® system variables. Use the [setvar](%28setvar%20sysvar%20value%29.md) function to change the value of a system variable.
**Example**
| Code | Returns |
| --- | --- |
| (**getvar** "blipmode") | 0 |
**Tell me about...**
[(getcfg parameter)](%28getcfg%20parameter%29.md)
[(getenv variable)](%28getenv%20variable%29.md)
[(setvar sysvar value)](%28setvar%20sysvar%20value%29.md)
[LISP Compatibility](../LISP%20Compatibility.md)
[Programming Overview of LISP (LISt Processing) Language](../Programming%20Overview%20of%20LISP%20%28LISt%20Processing%29%20Language.md)
<a id="holding"></a>
## Other versions with matching text
[GstarCAD 2012](../../../../2012/Developer%20Reference/AutoLISP%20Reference/LISP%20Functions/%28getvar%20sysvar%29.md)