Returns the result of evaluating an AutoLISP expression
Supported Platforms: Windows and Mac OS
(eval expr)
Type: Integer, Real, String, List, T, nil, ads_name, Symbol
The expression to be evaluated.
Type: Integer, Real, String, List, T, nil, ads_name, Symbol
The result of the expression, after evaluation.
First, set some variables:
(setq a 123) 123 (setq b 'a) A
Now evaluate some expressions:
(eval 4.0) 4.0 (eval (abs -10)) 10 (eval a) 123 (eval b) 123