MACROMEDIA FLEX-FLEX ACTIONSCRIPT LANGUAGE Reference page 86

Actionscript language reference
Table of Contents

Advertisement

true
foo
foo
false
The following example illustrates comparison by reference with two arrays:
var a:Array = [ 1, 2, 3 ];
var b:Array = [ 1, 2, 3 ];
trace(a); // 1, 2, 3
trace(b); // 1, 2, 3
trace(a!=b); // true
a = b;
trace(a); // 1, 2, 3
trace(b); // 1, 2, 3
trace(a!=b); // false
// trace statement output:
1,2,3
1,2,3
true
1,2,3
1,2,3
false
See also
! (logical NOT)
,
(equality)
=== (strict equality)
!== (strict inequality)
Availability
Flash Player 6.
Usage
expression1 !== expression2
Parameters
None.
Returns
A Boolean value.
86
Chapter 5: ActionScript Core Language Elements
,
!== (strict inequality)
,
,
&& (logical AND)
,
|| (logical OR)
==

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLEX-FLEX ACTIONSCRIPT LANGUAGE and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

This manual is also suitable for:

Flex

Table of Contents