symbol type word 1 dword 2 _______________________Type Maximum length Memory required ShortString 255 characters 2 to 256 bytes AnsiString ~2^31 characters 4 bytes to 2GB WideString ~2^30 characters 4 bytes to 2GB
WORD type: ======================================= Word 0..65535 unsigned 16-bit Word为2字节(16bit)无符号整型数据类型,大小范围为0~65535 DWORD type: ============================================= DWORD represents a four-byte unsigned integer. type DWORD = Longword; (Longword的大小范围为-2147483648~2147483647 DWord为4字节(32bit)无符号整型数据类型,大小范围为0~4294967295 STRING types: ====================================================== ShortString 0~255字节长度短字符串 AnsiString 最大为2的31次方字节长ANSI字符串 WideString 最大为2的30次方字节宽字符串String取以上哪个范围由系统实系而定。
word: 是16位的无符号整数类型;
Dword:是32位的无符号整数类型;
string: 字符串类型
word 1
dword 2
_______________________Type Maximum length Memory required
ShortString 255 characters 2 to 256 bytes
AnsiString ~2^31 characters 4 bytes to 2GB
WideString ~2^30 characters 4 bytes to 2GB
=======================================
Word 0..65535 unsigned 16-bit
Word为2字节(16bit)无符号整型数据类型,大小范围为0~65535
DWORD type:
=============================================
DWORD represents a four-byte unsigned integer.
type DWORD = Longword; (Longword的大小范围为-2147483648~2147483647
DWord为4字节(32bit)无符号整型数据类型,大小范围为0~4294967295
STRING types:
======================================================
ShortString 0~255字节长度短字符串
AnsiString 最大为2的31次方字节长ANSI字符串
WideString 最大为2的30次方字节宽字符串String取以上哪个范围由系统实系而定。