Lt Less Than (Strings) Operator; Less Than Or Equal To Operator - MACROMEDIA FLASH 8-FLASH LITE 2.X ACTIONSCRIPT LANGUAGE Reference

Flash lite 2.x actionscript language reference
Hide thumbs Also See for FLASH 8-FLASH LITE 2.X ACTIONSCRIPT LANGUAGE:
Table of Contents

Advertisement

Example
The following examples show
comparisons:
trace(3 < 10); // true
trace(10 < 3); // false
trace("Allen" < "Jack"); // true
trace("Jack" < "Allen"); //false
trace("11" < "3"); // true
trace("11" < 3); // false (numeric comparison)
trace("C" < "abc"); // true
trace("A" < "a"); // true

lt less than (strings) operator

expression1 lt expression2
Deprecated since Flash Player 5. This operator was deprecated in favor of the < (less than)
operator.
Compares
expression1
,
expression2
false
Availability: ActionScript 1.0; Flash Lite 1.0
Operands
expression1 :
Object
expression2 :
Object
Returns
- The result of the comparison.
Boolean
See also
< less than operator
<= less than or equal to operator
expression1 <= expression2
Compares two expressions and determines whether
; if it is, the operator returns
expression2
, the operator returns
expression2
order; all capital letters come before lowercase letters.
156
ActionScript language elements
and
true
false
to
and returns
expression2
otherwise.
- Numbers, strings, or variables.
- Numbers, strings, or variables.
true
. String expressions are evaluated using alphabetical
false
returns for both numeric and string
if
true
expression1
is less than or equal to
expression1
. If
is greater than
expression1
is less than

Advertisement

Table of Contents
loading

Table of Contents