up previous next contents
Next: return Up: Flow control and loops Previous: break   Contents

continue

  • Skips to the end of a loop's body and evaluates the boolean expression that controls the loop.
  • Has meaning only inside loops: while, do-while, and for.
  • A labeled continue will break out of any inner loops on its way to the next iteration of the named loop.


up previous next contents
Next: return Up: Flow control and loops Previous: break   Contents