= (assignment)

Availability

Flash Lite 1.0.

Usage

expression1 = expression2

Operands

expression1 A variable or a property.

expression2 A value.

Description

Operator; assigns the value of expression2 (the operand on the right) to the variable or property in expression1.

Example

The following example uses the assignment (=) operator to assign a numeric value to the variable weight:

weight = 5;

The following example uses the assignment (=) operator to assign a string value to the variable greeting:

greeting = "Hello, " and personName;