continue
no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
| — | continue [2006/07/11 04:57] (current) – created - external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ======Synopsis: | ||
| + | [[continue]] | ||
| + | |||
| + | ======Description: | ||
| + | [[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. | ||
| + | |||
| + | ======Examples: | ||
| + | for (@loop=0, | ||
| + | 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
