endwhile

Syntax

endwhile

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

while GetPointerPressed ( ) = 0
    Print ( "touch or click the screen to continue" )
endwhile