continue

The EVML continue statement stops execution of the current iteration of a for, for..in, for..of, or while statement, and continues execution of the next iteration.

Syntax


    continue;

Unlike the break statement, continue does not terminate execution of the loop entirely. In a for, for..in or for..of loop, continue jumps to the updated expression. Whereas in a while loop, it jumps back to the condition.

<?ev
    for(var i=0; i<5; i++){
        if(i==3){
            continue;
        }
        print(i);
    }
?>

Will print 0, 1, 2 and 4.