User Tools

Site Tools



This shows you the differences between two versions of the page.

Link to this comparison view

continue [2006/07/11 04:57] (current)
Line 1: Line 1:
 +[[Continue]] ends the current iteration of a [[do]], [[while]], [[foreach]],​
 +[[fe]], [[fec]], [[for|for .. next]], [[for|for .. in]], and
 +[[for|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.
 +   for (@loop=0,​loop<​=10,​@loop++) {
 +     if (loop==4) { continue }
 +     echo $loop of 10, skipping 4.
 +   }
 +The [[continue]] command first appeared in EPIC4pre1.031.
continue.txt ยท Last modified: 2006/07/11 04:57 (external edit)