while instruction
RoBOTL
while instruction
while ( boolexp ) instruction
while ( boolexp ) { instructions }
This control instruction iteratively executes the
instruction
or sequence of
instructions while
the boolean expression boolexp
is TRUE. The expression is evaluated before each iteration, so if
the expression is initially FALSE, the instruction(s) are not executed.
The while instruction can also be specified as While.
Other Control Instructions:
You can also go:
Created on 19 June 1995
Last revised 27 January 1997
Copyright ©1995,1996,1997 Walter S. Ching, n1hbr@ma.ultranet.com