exit

Examples


The exit statement allows you to exit the current instance of the specified program structure.

Syntax

exit [for | repeat | while | try]

Parameters

for | repeat | while | try – A keyword indicating the type of program structure to exit from.

Comments

This statement is useful for navigation within nested loops. It is also useful for structured exception handling.


Documentation Feedback