Siebel eScript Language Reference > Siebel eScript Language Overview > Siebel eScript Statements >

continue Statement

The continue statement starts a new iteration of a loop.

Syntax A


Syntax B

continue label;



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)
   if (i==7)
   document.write(i + ".Test");

See Also

do...while Statement
for Statement
goto Statement
while Statement

Siebel eScript Language Reference