setting the value of a variable
The special operator setq and the macro setf are used to set the value of a variable named by a symbol
(setq x 37.0)
x => 37.0
(setf z (+ 2 3))
z => 6
(setq eye-color 'blue)
eye-color => blue
Previous slide
Next slide
Back to first slide
View graphic version