Actionscript while loop

var num:Number = 0;
while (num < .5) {
num = Math.random();
}

Enjoyed this post? Share it!

 

Leave a comment

Your email address will not be published.