continue

  • Updated

irScript continue statement is used to immediately stop execution inside a for, do/while, or
while statement; execution continues with the next iteration of the enclosing statement:

var x = 0;
var result = 0;
while( x++ < 100 )
{
if( x % 2 == 1 )
{
continue;
}
else
{
result += x;
}
}

Was this article helpful?

0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.