Siebel eScript Language Reference > Siebel eScript Language Overview > Siebel eScript Statements >
The continue statement starts a new iteration of a loop.
The name of the label indicating where execution is to resume
The continue statement ends the current iteration of a loop and begins the next. Any conditional expressions are reevaluated before the loop reiterates.
A label may be used to indicate the point at which execution should continue. A label consists of a legal identifier, followed by a colon, placed at the left margin of the work area.
The following example writes the numbers 1 through 6 and 8 through 10, followed by the string ".Test". The use of the continue statement after "if (i==7)" prevents the write statement for 7, but keeps executing the loop.
var i = 0;
while (i < 10)
document.write(i + ".Test");