Not Equal To (!=) : Comparison Operators : Language Flash / Flex / ActionScript examples


Flash / Flex / ActionScript examples » Language » Comparison Operators »

 

Not Equal To (!=)


 

package{
  import flash.display.Sprite;
  
  public class Main extends Sprite{
    public function Main(){
        var weather:String = "rain";
        
        
        if (weather != "sun") { trace("bringUmbrella")}
        if (!(weather == "sun")) { trace("bringUmbrella")}
        
    }
  }
}

        



Leave a Comment / Note


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


Flash / Flex / ActionScript examples

 Navioo Language
» Comparison Operators