Next: , Up: iklib syntaxes loops   [Index]


6.8.7.1 Iterating with the while syntax

Syntax: while ?test ?body ...
Auxiliary Syntax: continue
Auxiliary Syntax: break

If the expression ?test evaluates to true: evaluate the body forms ?body and recurse; else return unspecified values. In the body: the syntax continue causes immediate looping to next iteration, starting with the ?test; the syntax break causes immediate escaping out of the loop.