03.05.2013 Views

FLASH® LITE™ 2.x - Adobe Help and Support

FLASH® LITE™ 2.x - Adobe Help and Support

FLASH® LITE™ 2.x - Adobe Help and Support

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

trace(a!=b); // true<br />

a = b;<br />

trace(a); // 1, 2, 3<br />

trace(b); // 1, 2, 3<br />

trace(a != b); // false<br />

// trace statement output: 1,2,3 1,2,3 true 1,2,3 1,2,3 false<br />

See also<br />

! logical NOT operator, !== strict inequality operator, && logical AND<br />

operator, || logical OR operator, == equality operator, === strict equality<br />

operator<br />

inequality operator<br />

expression1 expression2<br />

Deprecated since Flash Player 5. This operator has been deprecated. <strong>Adobe</strong> recommends that<br />

you use the != (inequality) operator.<br />

Tests for the exact opposite of the equality (==) operator. If expression1 is equal to<br />

expression2, the result is false. As with the equality (==)operator, the definition of equal<br />

depends on the data types being compared:<br />

■ Numbers, strings, <strong>and</strong> Boolean values are compared by value.<br />

■ Objects, arrays, <strong>and</strong> functions are compared by reference.<br />

■ Variables are compared by value or by reference depending on their type.<br />

Oper<strong>and</strong>s<br />

expression1 : Object - A number, string, Boolean value, variable, object, array,<br />

or function.<br />

expression2 : Object - A number, string, Boolean value, variable, object, array,<br />

or function.<br />

Returns<br />

Boolean - The Boolean result of the comparison.<br />

See also<br />

!= inequality operator<br />

instanceof operator<br />

object instanceof classConstructor<br />

Operators 143

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!