ActionScript 3.0 基础数据类型
String: 字符或者字符串 A single character or sequence of characters
Boolean: 布尔类型 只有真和假 true or false values
int: 带符号整型,ActionScript 3.0新增类型 Positive and negative whole numbers (new in the actionscript 3.0)
uint: 无符号整型,ActionScript 3.0新增类型 Positive whole numbers (new in the actionscript 3.0)
Number: 浮点数类型 Positive and negative whole and real (i.e., fractional) numbers
Note:
int and uint are actually low-level numeric types that are a subtypes of Integer (which does not exist in ActionScript), and the lowercase denotes this and also follows syntax shared by other languages like Java, C++, and C#.
尚无评论