[Contents]
[Prev] [Next] [Limbo Basics] [Limbo Programming] [Language Definition]

The continue Statement

The continue statement

continue identifieropt;

restarts execution of while, do, and for statements. Execution of continue with no identifier transfers control to the end of the innermost while, do, or for statement in which the continue appears as a substatement. The expression that controls the loop is tested and if it succeeds, execution continues in the loop. The initialization portion of for is not redone. Similarly, execution of continue with an identifier transfers control to the end of the enclosing while, do, or for labelled with the same identifier.



[Contents]
[Prev] [Next] [Limbo Basics] [Limbo Programming] [Language Definition]

Copyright © 1998, Lucent Technologies, Inc. All rights reserved.