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 |
0 | CMD0001 | No error | |
1 | CMD0202 | Syntax error | |
1 | SDP0118 | Command in false context | |
1 | SDP0139 | Back branch limit reached | |
1 | SDP0223 | Incorrect environment | |
3 | CMD2203 | Incorrect syntax file | |
32 | CMD0221 | System error (internal error) | |
64 | SDP0091 | Semantic error | |
130 | SDP0099 | No further address space available |
Example
See "Defining loops ".