Prev | Current Page 657 | Next

L. McColl-Sylvester and F. Ponticelli

"Professional haXe and Neko"

It behaves almost the same on all platforms.
uint
(F9)
UInt
It is a 32-bit unsigned integer. It is platform specific and its definition in haXe
exists only when the target is Flash 9.
Void
(F8)
void
(F9)
Void
It is the type for functions that do not return anything. In haXe Void is an Enum
with no constructors.
Table 12-2
ActionScript Value
(Flash Version) haXe Equivalent
Infinity
(F6??“9)
Math.POSITIVE_INFINITY
A special Number member expressing positive numeric infinity. In haXe its
type is Float.
-Infinity
(F6??“9)
Math.NEGATIVE_INFINITY
A special Number member expressing negative numeric infinity. In haXe its
type is Float.
NaN
(F6??“9)
Math.NaN
In AS it is a special member of the Number type that means that the value is
not a number. In haXe the Math.NaN has the same role but obviously
applies to the Float type.
undefined
(F6??“9)
null
The undefined value does not exist in haXe and is commonly replaced by
the null value.
null
(F6??“9)
null
Global Constants and Special Values
Constant values and special values are globally accessible in both AS2/AS3.


Pages:
645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669