A irScript do/while statement is used to iteratively execute a statement block, such that at least one iteration occurs and subsequent iterations occur in response to positive outcome of some conditional test:
var coll = [];
do
{
coll.Add( {} );
}
while ( coll.Count < 1000 );
Break and continue statements may be used inside a do/while block.
Comments
0 comments
Please sign in to leave a comment.