Statement <BREAK>

Syntax:

BREAK


Description:

The <BREAK> statement is designed to terminate the execution of a loop. Control is transferred to the statement following the interrupted loop. In the case of nested loops, the execution of the loop in which the <BREAK> statement is located is terminated.

The use of the <BREAK> statement is only allowed within the body of a loop; in all other cases, an error message is issued.


See also:

The cycle statement <FOR>

The cycle statement <REPEAT>

The cycle statement <WHILE>

Оператор <CONTINUE>