Table of Contents

Synopsis:

continue

Description:

Continue ends the current iteration of a do, while, foreach, fe, fec, for .. next, for .. in, and for (...) loop, just as if you had reached the end of the current iteration normally.

The break and return commands are other ways of ending loops.

Examples:

 for (@loop=0,loop<=10,@loop++) {
   if (loop==4) { continue }
   echo $loop of 10, skipping 4.
 }

History:

The continue command first appeared in EPIC4pre1.031.