Loop structures: Difference between revisions

Content added Content deleted
No edit summary
No edit summary
Line 247: Line 247:
(set 'x 1)
(set 'x 1)
(do-until (= x 10) (inc 'x) (println x))
(do-until (= x 10) (inc 'x) (println x))

===do-while===

'''Interpreter:''' [[newLISP]] v.9.0

(set 'x 1)
(do-while (< x 10) (inc 'x) (println x))


===for===
===for===