vl-symbol-value

AutoCad AutoLISP Functions

 
vl-symbol-value
 
 
 

Returns the current value bound to a symbol

(vl-symbol-value symbol)

This function is equivalent to the eval function, but does not call the LISP evaluator.

Arguments

symbol

Any LISP symbol.

Return Values

The value of symbol, after evaluation.

Examples

_$ (vl-symbol-value 't)
T
_$ (vl-symbol-value 'PI)
3.14159
_$ (progn (setq sym 'PAUSE)
(vl-symbol-value sym))
"\\"