
EXIT
Use
EXIT ( <condition> ).
You can use this command to conditionally exit a DO loop or a test case.
If the EXIT condition is not satisfied, the next statement is executed. If the condition is satisfied:
Conditions
To formulate conditions, you can use logical expressions containing the following operators:
|
Operator |
Meaning |
|
= |
equal to |
|
<> |
not equal to |
|
< |
less than |
|
<= |
less than or equal to |
|
> |
greater than |
|
>= |
greater than or equal to |
|
AND |
Boolean AND |
|
OR |
Boolean OR |
|
NOT |
Boolean NOT |
Simple conditions have the form:
<parameter1> <comparison operator> <parameter2>
You can combine several logical expressions into a single logical expression. If the single logical expression is true:
To negate the result of a logical expression, you can precede it with the NOT operator.
NOT takes priority over AND. AND takes priority over OR. However, you can use parentheses to specify the processing sequence.

Leave a space before and after a parenthesis.
Example
EXIT ( NOT ( A < B AND A > D ) ).