Arrays
An array is a mapping from a set of index tuples to a set of range elements.
(setq ages (make-array 4
:initial-contents ’(21 19 20 21) ) )
#(21 19 20 21)
(aref ages 2)
20
(setf (aref ages 2) 25)
25
ages
#(21 19 25 21)
Previous slide
Next slide
Back to first slide
View graphic version