Skip to main content

This is documentation for Caché & Ensemble.

For information on converting to InterSystems IRIS, see the InterSystems IRIS Adoption Guide and the InterSystems IRIS In-Place Conversion Guide, both available on the WRC Distributions page (login required).

Previous sectionNext section


Jumps to FOR or DO WHILE statements and reexecutes test and loop.


Continue Do
Continue For


The Continue Do and Continue For statements do not have any arguments


The Continue Do or Continue For statement is used within the code block following a For or Do While statement. Continue Do or Continue For causes execution to jump back to the For or Do While statement and to evaluate its test condition, and, based on that evaluation, reexecutes the code block loop.


The following example illustrates the use of the Continue statement:

For i = 1 to 10
  If i = 5 Then
  Continue For
  Println i
  End If
Copy code to clipboard

See Also