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...
(progn statement1 statement2 ...)
(setq symbol1 statement1 [symbol2 statement2] ...)
Programming Overview of LISP (LISt Processing) Language
| Bricscad™ is commercialized by Bricsys NV. Bricsys NV and Vondle NV are fully owned subsidiaries of Menhirs NV. © 2001- Menhirs NV - All rights reserved. |