The exit statement allows you to exit the current instance of the specified program structure.
exit [for | repeat | while | try]
• for | repeat | while | try – A keyword indicating the type of program structure to exit from.
This statement is useful for navigation within nested loops. It is also useful for structured exception handling.