|
D 5 |
D 6 |
D 7 |
D 2007 |
D 2009 |
D 2010 |
XE |
XE2(32) |
XE2(64) |
Generic integer types |
Integer |
4 |
4 |
4 |
4 |
4 |
4 |
4 |
4 |
4 |
Cardinal |
4 |
4 |
4 |
4 |
4 |
4 |
4 |
4 |
4 |
NativeInt |
- |
- |
8 |
8 |
4 |
4 |
4 |
4 |
8 |
NativeUInt |
- |
- |
8 |
8 |
4 |
4 |
4 |
4 |
8 |
Fundamental integer types |
Shortint |
1 |
1 |
1 |
1 |
1 |
1 |
1 |
1 |
1 |
Smallint |
2 |
2 |
2 |
2 |
2 |
2 |
2 |
2 |
2 |
Longint |
4 |
4 |
4 |
4 |
4 |
4 |
4 |
4 |
4 |
Int64 |
8 |
8 |
8 |
8 |
8 |
8 |
8 |
8 |
8 |
Byte |
1 |
1 |
1 |
1 |
1 |
1 |
1 |
1 |
1 |
Word |
2 |
2 |
2 |
2 |
2 |
2 |
2 |
2 |
2 |
Longword |
4 |
4 |
4 |
4 |
4 |
4 |
4 |
4 |
4 |
UInt64 |
- |
- |
8 |
8 |
8 |
8 |
8 |
8 |
8 |
Character Types |
AnsiChar |
1 |
1 |
1 |
1 |
1 |
1 |
1 |
1 |
1 |
WideChar |
2 |
2 |
2 |
2 |
2 |
2 |
2 |
2 |
2 |
Char |
1 |
1 |
1 |
1 |
2 |
2 |
2 |
2 |
2 |
Boolean Types |
Boolean |
1 |
1 |
1 |
1 |
1 |
1 |
1 |
1 |
1 |
ByteBool |
1 |
1 |
1 |
1 |
1 |
1 |
1 |
1 |
1 |
WordBool |
2 |
2 |
2 |
2 |
2 |
2 |
2 |
2 |
2 |
LongBool |
4 |
4 |
4 |
4 |
4 |
4 |
4 |
4 |
4 |
Bool |
4 |
4 |
4 |
4 |
4 |
4 |
4 |
4 |
4 |
Fundamental Win32 real types |
Real48 |
6 |
6 |
6 |
6 |
6 |
6 |
6 |
6 |
6 |
Single |
4 |
4 |
4 |
4 |
4 |
4 |
4 |
4 |
4 |
Double |
8 |
8 |
8 |
8 |
8 |
8 |
8 |
8 |
8 |
Extended |
10 |
10 |
10 |
10 |
10 |
10 |
10 |
10 |
8 |
Extended80 |
- |
- |
- |
- |
- |
- |
- |
10 |
10 |
Comp |
8 |
8 |
8 |
8 |
8 |
8 |
8 |
8 |
8 |
Currency |
8 |
8 |
8 |
8 |
8 |
8 |
8 |
8 |
8 |
Generic real types |
Real |
8 |
8 |
8 |
8 |
8 |
8 |
8 |
8 |
8 |
{$REALCOMPATIBILITY
ON} Real |
6 |
6 |
6 |
6 |
6 |
6 |
6 |
6 |
6 |
Other |
UINT |
4 |
4 |
4 |
4 |
4 |
4 |
4 |
4 |
4 |
DWORD |
4 |
4 |
4 |
4 |
4 |
4 |
4 |
4 |
4 |
Pointer |
4 |
4 |
4 |
4 |
4 |
4 |
4 |
4 |
8 |
Pchar |
4 |
4 |
4 |
4 |
4 |
4 |
4 |
4 |
8 |
wParam |
4 |
4 |
4 |
4 |
4 |
4 |
4 |
4 |
8 |
lParam |
4 |
4 |
4 |
4 |
4 |
4 |
4 |
4 |
8 |
THandle |
4 |
4 |
4 |
4 |
4 |
4 |
4 |
4 |
8 |
Tag |
4 |
4 |
4 |
4 |
4 |
4 |
4 |
4 |
8 |
String types |
AnsiString |
4 |
4 |
4 |
4 |
4 |
4 |
4 |
4 |
8 |
AnsiString[1] |
1 |
1 |
1 |
1 |
1 |
1 |
1 |
1 |
1 |
WideString |
4 |
4 |
4 |
4 |
4 |
4 |
4 |
4 |
8 |
WideString[1] |
2 |
2 |
2 |
2 |
2 |
2 |
2 |
2 |
2 |
String |
4 |
4 |
4 |
4 |
4 |
4 |
4 |
4 |
8 |
String[1] |
1 |
1 |
1 |
1 |
2 |
2 |
2 |
2 |
2 |
UnicodeString |
- |
- |
- |
- |
4 |
4 |
4 |
4 |
8 |
UnicodeString[1] |
- |
- |
- |
- |
2 |
2 |
2 |
2 |
2 |
Array and Record types |
array
[0..8] of byte |
9 |
9 |
9 |
9 |
9 |
9 |
9 |
9 |
9 |
packed
array [0..8] of byte |
9 |
9 |
9 |
9 |
9 |
9 |
9 |
9 |
9 |
record
a: byte; b, c: word; end; |
6 |
6 |
6 |
6 |
6 |
6 |
6 |
6 |
6 |
packed
record a: byte; b, c: word; end; |
5 |
5 |
5 |
5 |
5 |
5 |
5 |
5 |
5 |
Enumerate |
(teA,
teB, teC, teD) |
1 |
1 |
1 |
1 |
1 |
1 |
1 |
1 |
1 |
set
of (teA, teB, teC, teD) |
1 |
1 |
1 |
1 |
1 |
1 |
1 |
1 |
1 |
{$Z+} |
4 |
4 |
4 |
4 |
4 |
4 |
4 |
4 |
4 |
{$Z+}
set of |
1 |
1 |
1 |
1 |
1 |
1 |
1 |
1 |
1 |
{$Z1} |
1 |
1 |
1 |
1 |
1 |
1 |
1 |
1 |
1 |
{$Z1}
set of |
1 |
1 |
1 |
1 |
1 |
1 |
1 |
1 |
1 |
{$Z2} |
2 |
2 |
2 |
2 |
2 |
2 |
2 |
2 |
2 |
{$Z2}
set of |
1 |
1 |
1 |
1 |
1 |
1 |
1 |
1 |
1 |
{$Z4} |
4 |
4 |
4 |
4 |
4 |
4 |
4 |
4 |
4 |
{$Z4}
set of |
1 |
1 |
1 |
1 |
1 |
1 |
1 |
1 |
1 |
{$Z-} |
1 |
1 |
1 |
1 |
1 |
1 |
1 |
1 |
1 |
{$Z-}
set of |
1 |
1 |
1 |
1 |
1 |
1 |
1 |
1 |
1 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|