Ссылки и массивы
This commit is contained in:
11
Тюлюбаев Артём/base+.lisp
Normal file
11
Тюлюбаев Артём/base+.lisp
Normal file
@@ -0,0 +1,11 @@
|
||||
(setq a (make-array '(4 3)))
|
||||
(dotimes (i 4)
|
||||
(dotimes (j 3)
|
||||
(setf (aref a i j) (list i 'x j '= (* i j)))
|
||||
)
|
||||
)
|
||||
(dotimes (i 4)
|
||||
(dotimes (j 3)
|
||||
(print (aref a i j))
|
||||
)
|
||||
)
|
||||
Reference in New Issue
Block a user