UNTIL

Top  Previous  Next

Syntax

UNTIL condition

Description

Terminates a DO/UNTIL loop and checks the condition.

Parameters

condition - Any condition that will be either TRUE or FALSE.

Return value

None

Remarks

If the condition is true UNTIL will continue executing at the first statement following the DO command.

See Also: DO

Example usage

DO
    a = a + 1
UNTIL a = 50