03.05.2013 Views

FLASH® LITE™ 2.x - Adobe Help and Support

FLASH® LITE™ 2.x - Adobe Help and Support

FLASH® LITE™ 2.x - Adobe Help and Support

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

trace(3 < 10); // true<br />

trace(10 < 3); // false<br />

trace("Allen" < "Jack"); // true<br />

trace("Jack" < "Allen"); //false<br />

trace("11" < "3"); // true<br />

trace("11" < 3); // false (numeric comparison)<br />

trace("C" < "abc"); // true<br />

trace("A" < "a"); // true<br />

lt less than (strings) operator<br />

expression1 lt expression2<br />

Deprecated since Flash Player 5. This operator was deprecated in favor of the < (less than)<br />

operator.<br />

Compares expression1 to expression2 <strong>and</strong> returns true if expression1 is less than<br />

expression2, false otherwise.<br />

Oper<strong>and</strong>s<br />

expression1 : Object - Numbers, strings, or variables.<br />

expression2 : Object - Numbers, strings, or variables.<br />

Returns<br />

Boolean - The result of the comparison.<br />

See also<br />

< less than operator<br />

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!