EasyManua.ls Logo

MACROMEDIA FLASH 8-FLASH LITE 1.X ACTIONSCRIPT LANGUAGE - (Subtract)

MACROMEDIA FLASH 8-FLASH LITE 1.X ACTIONSCRIPT LANGUAGE
162 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...
– (subtract) 107
Operands
expression1, expression2 Numbers, strings, or variables.
Description
Operator (comparison); compares the string representation of expression1 to the string
representation of
expression2 and returns a true value if expression1 is less than or equal
to
expression2; otherwise, it returns a false value. Strings are compared using alphabetical
order; digits precede all letters, and all capital letters precede lowercase letters.
Example
The following examples show the output of various string comparisons:
animals = "cats";
breeds = 7;
trace ("persons" le "people");// output: 0(false)
trace ("cats" le "cattle");// output: 1(true)
trace (animals le "cats");// output: 1(true)
trace (animals le "Cats");// output: 0(false)
trace (breeds le "5");// output: 0(false)
trace (breeds le 7);// output: 1(true)
See also
<= (numeric less than or equal to)
– (subtract)
Availability
Flash Lite 1.0.
Usage
(Negation) -expression
(Subtraction) expression1 - expression2
Operands
expression1, expression2 Numbers or expressions that evaluate to numbers.

Table of Contents

Related product manuals