WHILE

Top  Previous  Next

Syntax

WHILE condition

Description

Begins a WHILE loop.  As long as the condition is true, all of the statements between WHILE and ENDWHILE are executed in a loop.

Parameters

condition - Any condition that will be either TRUE or FALSE

Return value

None

Remarks

See Also: ENDWHILE

Example usage

WHILE a < 7
   a = a + 1
ENDWHILE