while
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++ );
}
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++ );
}