Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

UNTIL Terminate REPEAT block

&pagelevel(4)&pagelevel

Domain: PROCEDURE

Command description

UNTIL contains the loop condition for a REPEAT block, i.e. for a REPEAT loop, and terminates the REPEAT block (the initiation command for the REPEAT block is REPEAT). If the condition is not satisfied, a new loop pass is started with the first command in the REPEAT block. Otherwise, the loop is terminated and procedure execution resumes with the first command following the UNTIL command. (See also section “REPEAT block” (Defining loops )).

Expressions are replaced in the condition each time the loop is executed.

Format

UNTIL

CONDITION = <text 0..1800 with-low bool-expr>

Operands

CONDITION = <text 0..1800 with-low bool-expr>
Logical expression as the condition for terminating the REPEAT block (see chapter “Expressions” for information on logical expressions).

Command return codes

(SC2)

SC1

Maincode

Meaning


0CMD0001No error

1CMD0202Syntax error

1SDP0118Command in false context

1SDP0139Back branch limit reached

1SDP0223Incorrect environment

3CMD2203Incorrect syntax file

32CMD0221System error (internal error)

64SDP0091Semantic error

130SDP0099No further address space available

Example

See "Defining loops ".