12.5.8         continue

Description:   Skip to the next iteration of a loop.

Syntax:         continue


Argument:      none

Returns:        4 = TCL_CONTINUE code

See Also:       break, loop



The continue command is invoked inside the body of a looping command such as for or foreach or while. It returns a TCL_CONTINUE code, which causes a continue exception to occur. The exception causes the current script to be aborted out to the innermost containing loop command, which then continues with the next iteration of the loop.