while

  • Updated

irScript supports conditional while loops, where the body of the loop executes until a specified condition is met (or a break statement is encountered):

var x = 0;

while ( x < 100 )
{
DoSomeImportantWork( x++ );
}

Was this article helpful?

0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.