Include the number variable in a string expression. This will implicitly convert the number to a String. : Int : Data Type Flash / Flex / ActionScript examples


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

 

Include the number variable in a string expression. This will implicitly convert the number to a String.


 

package{
  import flash.display.Sprite;
  
  public class Main extends Sprite{
    public function Main(){
        for (var i:int 99; i > 0; i--) {
            trace(i + "bottles of beer on the wall");
        }
    }
  }
}

        



Leave a Comment / Note


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


Flash / Flex / ActionScript examples

 Navioo Data Type
» Int