Usage
Syntax: continue;
Explanation
continue ignores the rest of the script of the current loop and goes on to the next iteration.
Example
function onCreated() { for (temp.i = 0; temp.i < 10; temp.i ++) { if (temp.i == 5) { continue; } echo(temp.i); } }
... will count 0..1..2..3..4..6..7..8..9 (skips 5)
Categories
CategoryLanguageConstruct
There are no comments on this page. [Add comment]