Equality (==) : Comparison Operators : Language Flash / Flex / ActionScript examples


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

 

Equality (==)


 

package{
  import flash.display.Sprite;
  
  public class Main extends Sprite{
    public function Main(){


        var weather:String = "rain";
        
        if (weather == "rain") {
           trace("bringUmbrella");
        }

    }
  }
}

        



Leave a Comment / Note


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


Flash / Flex / ActionScript examples

 Navioo Language
» Comparison Operators