|Top Previous Next|
Terminates the current iteration in the loop, if a specified condition occurs, and continues with the next iteration in the loop.
continue statement ends the processing of the action part of an iterative statement and continues with the next iteration in the loop.
If continue is used within nested statements, it ends only the current iteration of the do, for, or while statement immediately enclosing it. If continue is used in while and do...while statements, tests their condition and if true executes the loop again. If used within for statements, it executes their incremental expression and if true, executes the loop again.