Node:Loop Control Statements, Previous:The Declaring Statement, Up:Statements



Loop Control Statements

These are

Continue;
and
Break;

These simple statements must not occur outside a loop, i.e. a for, while or repeat statement. Continue transfers control to the beginning of the loop right by its call, Break exits the current loop turn and continues loop execution.