While Command

General loop. The While command branches to the matching EndWhile if expression is False.

Syntax

While expression

Example

WHILE PLANE_BANK > 5

PRINT "Turning left."

ENDWHILE