simple type
From Lazarus wiki
Jump to navigationJump to searchThe printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
A simple type is a single value which can be stored in an Identifier. Simple types are predefined by the compiler, but are not reserved words. While it is not recommended, they can be redefined. The simple types predefined by the compiler are:
name | bytes | |
---|---|---|
boolean | ? | |
cardinal | ? | |
char | ? | most likely 1 |
currency | ? | |
extended | ? | |
int8 | 1 | by definition |
int16 | 2 | by definition |
int32 | 4 | by definition |
int64 | 8 | by definition |
integer | ? | |
shortint | ? | <= integer |
smallint | ? | <= integer |
longint | ? | >= integer |
byte | 1 | by definition |
word | 2 | by definition |
dword | 4 | by definition |
qword | 8 | by definition |
pointer | ? | |
real | ? |
simple data types |
|
---|---|
complex data types |