EasyManua.ls Logo

MACROMEDIA FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE - Le Less than or Equal to (Strings) Operator

MACROMEDIA FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE
1378 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Operators 171
Returns
Boolean - The Boolean result of the comparison.
Example
The following examples show
true and false results for both numeric and string
comparisons:
trace(5 <= 10); // true
trace(2 <= 2); // 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
le less than or equal to (strings) operator
expression1 le expression2
Deprecated since Flash Player 5. This operator was deprecated in Flash 5 in favor of the <=
(less than or equal to) operator.
Compares
expression1 to expression2 and returns a value of true if expression1 is less
than or equal to
expression2, false otherwise.
Availability: ActionScript 1.0; Flash Player 4
Operands
expression1 : Object - Numbers, strings, or variables.
expression2 : Object - Numbers, strings, or variables.
Returns
Boolean - The result of the comparison.
See also
<= less than or equal to operator

Table of Contents

Related product manuals