until

syntax

until condition

Description

These commands will define a loop that will repeat until the Condition becomes true. Unlike the while command, the repeat loop allows the command sequence within your loop to run at least once before the condition is checked. You are able to break from the loop at any time by using the exit command.

Example

repeat
    print ( "in a conditional loop" )
until GetPointerPressed ( ) = 1