正在加载图片...
1.整型 OOP PASCAL中将整数类型分为基本的( fundanmental)和一般的 ( generIc)整数类型。 基本的整数类型包括 Shortint(短整型)、 Smallint(小整型)、 Longint Longword(长字型)。它们的取值范围和格式如表24所示学字型)和 (长整型)、Int64(64位整型)、Byte(字节型)、Word( 表24基本整数类型 类型 范围 格式 Shorting 127...127 8位带符号数 Smallint 32768..32767 16位带符号数 Longint 2147483648.2147483647 2位带符号数 Int64 263.263-1 64位带符号数 Byte 0.255 8位无符号数 word 0..65535 16位无符号数 Longword0.4294967295 32位无符号数1. 整型 OOP PASCAL 中将整数类型分为基本的(fundanmental) 和一般的 (generic) 整数类型。 基本的整数类型包括Shortint (短整型)、Smallint (小整型)、Longint (长整型)、Int64 (64位整型)、Byte (字节型)、Word (字型)和 Longword (长字型)。它们的取值范围和格式如表2-4所示: 表2-4 基本整数类型 类型 范围 格式 Shortint -127...127 8位带符号数 Smallint -32768…32767 16位带符号数 Longint -2147483648…2147483647 32位带符号数 Int64 -2^63…2^63-1 64位带符号数 Byte 0…255 8位无符号数 word 0…65535 16位无符号数 Longword 0…4294967295 32位无符号数
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有