Combining operators with assignment will use the left-hand side of the expression as the first operand : Int : Data Type Flash / Flex / ActionScript examples


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

 

Combining operators with assignment will use the left-hand side of the expression as the first operand


 


package{
  import flash.display.Sprite;
  
  public class Main extends Sprite{
    public function Main(){
        var a=10;
        a = a + 10;
        //can be more concisely written as
        a += 10;

    }
  }
}

        



Leave a Comment / Note


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


Flash / Flex / ActionScript examples

 Navioo Data Type
» Int