The While Loop

while condition [do]
  {instruction}
loop

The condition is evaluated. If true, the nested sequence of instructions is carried out, otherwise the instruction following the loop is carried out. The above is repeated until the condition evaluates to false.

See also: endless loop


Herman Venter

This is Slim documentation as snarfed on 27 May 1999 by dB.