CONTINUE
Continues with the next iteration of a loop
[label:]
<loop_stmt>
BEGIN
...
CONTINUE [label];
...
END
<loop_stmt> ::=
FOR <select_stmt> INTO <var_list> DO
| FOR EXECUTE STATEMENT ... INTO <var_list> DO
| WHILE (<condition>)} DO
| Argument | Description |
|---|---|
label |
Label |
select_stmt |
|
condition |
A logical condition returning |
The CONTINUE statement skips the remainder of the current block of a loop and starts the next iteration of the current WHILE or FOR loop.Using the optional label parameter, CONTINUE can also start the next iteration of an outer loop, that is, the loop labelled with label.