Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
14
Task/Loops-Nested/Common-Lisp/loops-nested.lisp
Normal file
14
Task/Loops-Nested/Common-Lisp/loops-nested.lisp
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
(let ((a (make-array '(10 10))))
|
||||
(dotimes (i 10)
|
||||
(dotimes (j 10)
|
||||
(setf (aref a i j) (1+ (random 20)))))
|
||||
|
||||
(block outer
|
||||
(dotimes (i 10)
|
||||
(dotimes (j 10)
|
||||
(princ " ")
|
||||
(princ (aref a i j))
|
||||
(if (= 20 (aref a i j))
|
||||
(return-from outer)))
|
||||
(terpri))
|
||||
(terpri)))
|
||||
Loading…
Add table
Add a link
Reference in a new issue