User Guide

Operators 181
}
book1 = new Book("Confederacy of Dunces", 19.95);
book2 = new Book("The Floating Opera", 10.95);
The following example uses the new operator to create an Array object with 18 elements:
golfCourse_array = new Array(18);
See also
[] array access operator, {} object initializer operator
ne not equal (strings) operator
expression1 ne expression2
Deprecated since Flash Player 5. This operator was deprecated in favor of the !=
(inequality)
operator.
Compares
expression1 to expression2 and returns true if expression1 is not 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 - Returns true if expression1 is not equal to expression2; false otherwise.
See also
!= inequality operator
{} object initializer operator
object = { name1 : value1 , name2 : value2 ,... nameN : valueN }
{expression1; [...expressionN]}
Creates a new object and initializes it with the specified name and value property pairs. Using
this operator is the same as using the
new Object syntax and populating the property pairs
using the assignment operator. The prototype of the newly created object is generically named
the Object object.