(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...
(progn statement1 statement2 ...)