Continue Statement

Action

Begins the next iteration of a for, for each, or while statement without completing the current iteration.

Syntax

continue

Notes

The continue statement passes control back to the top of the loop it controls.

Example

[-] main ()
	[ ] INTEGER I 
	[-] for I = 2 to 8 
		[-] if (I % 2) != 0 
			[ ] continue
		[ ] Print (I)
	[ ] //This script prints:
	[ ] //2
	[ ] //4
	[ ] //6
	[ ] //8