User Guide

Table Of Contents
* (multiply) 95
Operands
expression1, expression2 Numbers or expressions that evaluate to numbers.
Description
Operator (arithmetic compound assignment); assigns expression1 the value of
expression1 * expression2.
For example, the following two expressions are the same:
x *= y
x = x * y
Example
Usage 1: The following example assigns the value 50 to the variable x:
x = 5;
y = 10;
trace (x *= y);// output: 50
Usage 2: The second and third lines of the following example calculate the expressions on the
right side of the equals sign (=) and assign the results to
x and y:
i = 5;
x = 4 - 6;
y = i + 2;
trace(x *= y);// output: -14
* (multiply)
Availability
Flash Lite 1.0.
Usage
expression1 * expression2
Operands
expression1, expression2 Numeric expressions.
Description
Operator (arithmetic); multiplies two numeric expressions. If both expressions are integers,
the product is an integer. If either or both expressions are floating-point numbers, the product
is a floating-point number.