### continue

A continue statement lets you end the current iteration of a loop. Program control is passed from the continue statement to the end of the loop body.

The continue statement ends the processing of the action part of an iterative (do, for, or while) statement and moves control to the condition part of the statement. If the iterative statement is a for statement, control moves to the third expression in the condition part of the statement, then to the second expression (the test) in the condition part of the statement.

Within nested statements, the continue statement ends only the current iteration of the do, for, or while statement immediately enclosing it.

Restrictions
A continue statement can only appear within the body of an iterative statement.

do Statement
for Statement
while Statement
Examples Using the continue Statement