Command: until

Syntax

until (<condition>)
   <command_block>

Description

Execute a command or block of commands while a condition has a false value.

Parameters

Switches

None

Notes

Any non-zero numeric or point, or any non-null string is considered true when evaluating <condition>.

A jump to the end of the until loop block may be made with the continue command.

A break out of the until loop block may be made with a break command.

Examples

Execute one command.

x = 1
until ( array[x] >= 10 ) x = x + 1

Execute a command block.

x = 0
until ( x >= 5 ) {
   x = x + 1
   y = y * sqrt(x)
}

See Also

Commands:

do, while

Identifiers:

cond_precision (numeric)