while
while — iterates, evaluating a statement.
while (condition) statement
conditionAny Gamma or Lisp expression.
statementAny Gamma or Lisp statement.
The value of condition at the final iteration.
This function iterates until its condition
evaluates to nil,
evaluating the statement at each iteration. The
condition is evaluated before the
statement, so it is possible for a
while loop to iterate zero times.
Gamma>x = 0;0Gamma>while (x < 5) { princ (x, "\n"); x++; }0 1 2 3 4 4Gamma>x;5Gamma>
for, if, Statements