The continue statement is used to stop the execution of a block
of statements inside a for or while loop statement.

It is important to understand that the continue statement does
not cause the program to exit the for or while loop statement,
but rather, the program is redirected inside the loop. All processing
is immediately stopped inside the block of statements. In a while
loop, the program jumps to the while condition test. In a for
loop, the program jumps to the for counting variable test expression.

Attempting to use a continue statement outside of a for
or while loop statement will generate an error.