until
(until test-expression [expression1
expression2 ... ])
repeats the expression(s) until
test-expression evaluates as T (true)
|
Arguments |
test-expression
the expression to end or continue the
loop |
|
Return |
T always (from evaluating the 'test-expression') |
|
Example |
(setq n 0) (until (> n 5) (print n) (setq n (1+ n))) will print 0,1,2,3,4,5 |
|
Alias |
|
|
Remarks |
similar to (while ...) loop |
| © Menhirs NV. All rights reserved. |