package{
import flash.display.Sprite;
public class Main extends Sprite{
public function Main(){
var x:int = 0;
var a:int = -1;
var b:int = 0;
var c:int = 1;
trace(x <= a); // Displays: false
trace(x >= a); // Displays: true
trace(x <= b); // Displays: true
trace(x >= b); // Displays: true
trace(x <= c); // Displays: true
trace(x >= c); // Displays: false
}
}
}
|