Eq (String Equality); Gt (String Greater Than) - MACROMEDIA FLASH 8-FLASH LITE 1.X ACTIONSCRIPT LANGUAGE Reference

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

Advertisement

eq (string equality)

Availability
Flash Lite 1.0.
Usage
expression1 eq expression2
Operands
expression1, expression2
Description
Comparison operator; compares two expressions for equality and returns
representation of
expression1
otherwise, the operation returns
Example
The following examples show
word = "persons";
figure = "55";
trace("persons" eq "people");// output: 0(false)
trace("persons" eq word);// output: 1(true)
trace(figure eq 50 + 5);// output: 1(true)
trace(55.0 eq 55);// output: 1(true)
See also
== (numeric equality)

gt (string greater than)

Availability
Flash Lite 1.0.
Usage
expression1 gt expression2
Operands
expression1, expression2
Numbers, strings, or variables.
is equal to the string representation of
.
false
and
results:
true
false
Numbers, strings, or variables.
if the string
true
;
expression2
gt (string greater than)
103

Advertisement

Table of Contents
loading

Table of Contents