continue
Top  Previous  Next


SWiSH Player Support
SWF4 or later - Supported Internally

Syntax
continue

Arguments
None.

Returns
Nothing.

Description
Action; used in conditional loops and behaves differently based on which type of loop is used.

If continue is used within a while loop, it tells the script to skip the rest of the loop and return to the beginning of the loop - where the condition is tested.

If continue is used within a do..while loop, it tells the script to skip the rest of the loop and jump to the bottom of the loop, where the condition is tested.

If continue is used within a for loop, it tells the script to skip the rest of the loop and jump to the evaluation of the loop's post-expression.

If continue is used within a for...in loop, it tells the script to skip the rest of the loop and jump to the top of the loop and continue with the next value in the enumeration.