Onetastic Macro Documentation >
>
continue
continue Statement
Description
Skips to the next iteration of a for, foreach or a while loop without executing the remaining in the loop. With the given numeric-expression, it can skip iterations of multiple levels of loops. The expression is optional.
Syntax
continue numeric-expression
Examples
$sum = 0
for ($i = 1, $i < 10, ++$i)
if ($i < 3)
continue
$sum += $i
if ($i == 7)
break
See Also
|