ENDWHILE

These commands will define a loop that will repeat while the Condition is true.

  Syntax
ENDWHILE
  Returns

This command does not return a value.

  Description

Unlike the REPEAT command, the while command ensures the Condition is true before entering the loop. You are able to break from the loop at any time by using the EXIT command.

  Example Code
T=1
WHILE T<10
PRINT T
INC T
ENDWHILE
WAIT KEY
  See also

CORE Commands Menu
Index