Infinity Constant; Nan Constant; Newline Constant - MACROMEDIA FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE Reference

Actionscript 2.0 language reference
Table of Contents

Advertisement

// 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
Availability: ActionScript 1.0; Flash Player 5
See also
,
isNaN function
NaN (Number.NaN property)

newline constant

Inserts a carriage return character (
your code. Use
newline
statement in your code.
Availability: ActionScript 1.0; Flash Player 4
36
ActionScript language elements
.
.
.
isNaN()
) that generates a blank line in text output generated by
\r
to make space for information that is retrieved by a function or

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE and is the answer not in the manual?

This manual is also suitable for:

Flash 8

Table of Contents

Save PDF