continue

The continue keyword skips an iteration.

Purpose

A side statement for skipping an iteration.

Syntax

continue; 

Description

Use the continue statement to skip an iteration of a while or for loop. This statement forces the rule engine to skip to the next test of the loop statement.

Example

while (a.hasNext()) {
    if (a.next().skipTest())
	continue;
    if (a.next().test()) 
      ...
}