Statements used to exit from a loop or from a procedure

Several statements are available:

 

RETURN: Exit from the loop and exit from the current process (or procedure).

BREAK: Exit from the loop and run the rest of the current process (or procedure).

Close is used to exit from the loop (or procedure) and to close the current window.

Caution: RETURN and RESULT cannot be used in the same process.