(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)

(progn statement1 statement2 ...)

(setq symbol1 statement1 [symbol2 statement2] ...)

LISP Compatibility

Programming Overview of LISP (LISt Processing) Language