User Guide

36 ActionScript language elements
// converts it to a string
trace("String: " + bool1); // outputs String: false
Infinity constant
Specifies the IEEE-754 value representing positive infinity. The value of this constant is the
same as
Number.POSITIVE_INFINITY.
Availability: ActionScript 1.0; Flash Player 5
See also
POSITIVE_INFINITY (Number.POSITIVE_INFINITY property)
-Infinity constant
Specifies the IEEE-754 value representing negative infinity. The value of this constant is the
same as
Number.NEGATIVE_INFINITY.
Availability: ActionScript 1.0; Flash Player 5
See also
NEGATIVE_INFINITY (Number.NEGATIVE_INFINITY property)
NaN constant
A predefined variable with the IEEE-754 value for NaN (not a number). To determine
whether a number is NaN, use
isNaN().
Availability: ActionScript 1.0; Flash Player 5
See also
isNaN function, NaN (Number.NaN property)
newline constant
Inserts a carriage return character (\r) that generates a blank line in text output generated by
your code. Use
newline to make space for information that is retrieved by a function or
statement in your code.
Availability: ActionScript 1.0; Flash Player 4