Site hosted by Angelfire.com: Build your free website today!



Next: The goto Statement Up: Control of Your Previous: The break Statement

The continue Statement

This is similar to break but is less frequently encountered. It only works within loops where its effect is to force an immediate jump to the loop control statement.

Like a break, continue should be protected by an if statement. You are unlikely to use it very frequently.