Actionscript中delete关键字例子
var a:int = 5;var b:int = 9;var c:int = 7;//定义一个临时变量var t:int;if (a>b) {?t = a;?a = b;?b = t;}if (a>c) {?t = a;?a = c;?c = t;}if (b>c) {?t = b;?b = c;?c = t;}//删除临时变量delete t;trace(a,b,c);//5,7,9