Site Tools


continue

Synopsis:

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.

continue.txt · Last modified: 2006/07/11 04:57 by 127.0.0.1