You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

The Leave Processing Directive causes processing to immediately leave the closest enclosing Loop, While or Until Directive or Iterator Activity.  The enclosing loop terminates irrespective of any list or condition to which it is otherwise subject and processing continues with the next logical directive after the end of the enclosing Loop, While or Until block.

You can specify the following details for a Leave Directive:

Condition

Optional.  Leave is unconditional if no condition is specified.  Alternatively, you can specify a condition that must be satisfied for the Leave Directive to be effective. Refer to Conditioning Expressions for information about the syntax of conditioning expressions.

  • No labels