Mega Code Archive

 
Categories / Flash ActionScript / Language
 

Use the = and = operators to check if one value is less than or equal to, or greater than or equal to, another value

package{   import flash.display.Sprite;      public class Main extends Sprite{     public function Main(){         trace(5 <= 6);   // Displays: true         trace(5 >= 5);   // Displays: true     }   } }