SETQ
SETQ is a special form that evaluates its second argument and assigns that value to the symbol which must be its first argument.
> (setq x (+ 1 2 3))
6
> (setq x (* x 3))
18
> (setq y �(+ 1 2 3))
(+ 1 2 3)
> (setq y (rest y))
(1 2 3)
> (setq y (first y))
1
Previous slide
Next slide
Back to first slide
View graphic version