An example of a for statement that outputs the numbers from 0 to 999 : Int : Data Type Flash / Flex / ActionScript examples


Flash / Flex / ActionScript examples » Data Type » Int »

 

An example of a for statement that outputs the numbers from 0 to 999


 

package{
  import flash.display.Sprite;
  
  public class Main extends Sprite{
    public function Main(){
        for (var i:int 0; i < 1000; i++) {
          trace(i);
        }
        trace ("That's the end.");
    }
  }
}

        



Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .


Flash / Flex / ActionScript examples

 Navioo Data Type
» Int