CONTINUE Statement |
The CONTINUE statement skips the remainder of the loop body and continues with the next iteration of the loop. The CONTINUE statement is often used in conjunction with the FOREACH-IN and WHILE statements.
CONTINUE;
$count = 0; WHILE $count < 5 BEGIN $count = $count + 1; IF $count = 3 CONTINUE; PRINT $count; END
The above code snippet produces the following output:
1 2 4 5 |