GOOC - Game Oriented Object C
GOOC - Game Oriented Object C
8.6. The break and continue Statements
8.6. The break and continue Statements
You can use the break statement to terminate a while, until or do statement. This will only terminate the innermost loop.
You can use the continue statement to terminate an iteration of the loop and begin the next iteration. This will only affect the innermost loop.