set


(set symbol expr)

This function assigns the value of expr to symbol.

Arguments

symbol  quoted symbol name (string) or any expression which evaluates to a symbol
expr  any Lisp value to be assigned

Return

the value of expr

Example

(set 'oldVar 123)  123
(set (read "oldVal") 456)  456

Remarks

symbol is evaluated before the expr is assigned



©  Bricsys NV. All rights reserved.