Define and use Constants : Const : Language Flash / Flex / ActionScript examples


Flash / Flex / ActionScript examples » Language » Const »

 

Define and use Constants


 

package{
  import flash.display.Sprite;
  
  public class Main extends Sprite{
    public function Main(){
        const BOILING_POINT:int 212;
        
        trace(BOILING_POINT);
    }
  }
}

        



Leave a Comment / Note


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


Flash / Flex / ActionScript examples

 Navioo Language
» Const