# (eval statement) [GstarCAD 2011](../../../Index.md) → [Developer Reference](../../%28Developer%20Reference%29.md) → [AutoLISP Reference](../%28AutoLISP%20Reference%29.md) → [LISP Functions](%28LISP%20Functions%29.md) <a id="168"></a> ## (eval statement) --- Evaluate the statement. --- The **eval** function evaluates *statement*. ### Examples | Code | Returns | | --- | --- | | (setq w 98\) | | | (setq x 'w) | | | (setq y '(\+ 5 6)) | | | (setq z 'y) | | | | | | (**eval** w) | 98 | | (**eval** x) | 98 | | (**eval** y) | 11 | | (**eval** 'y) | (\+ 5 6\) | | (**eval** z) | (\+ 5 6\) | **Tell me about...** [(apply function list)](%28apply%20function%20list%29.md) [(progn statement1 statement2 ...)](%28progn%20statement1%20statement2%20...%29.md) [(setq symbol1 statement1 \[symbol2 statement2\] ...)](%28setq%20symbol1%20statement1%20-symbol2%20statement2-%20...%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/%28eval%20statement%29.md)