Peter Gerwinski wrote:
bits signed unsigned C equivalent 8 ByteInt Byte [unsigned|signed] char 16 ShortInt ShortWord [unsigned] short 32 Integer Word [unsigned] int == long 64 LongInt LongWord [unsigned] long long
I suggest keeping yourself more closely with Borland Pascal and Delphi. And implement range to byte mapping i.e. if I define a range as 0..255 it should occupy only one byte.
I suggest:
bits signed unsigned C equivalent
8 shortint byte [unsigned|signed] char 16 smallInt Word [unsigned] short XX Integer cardinal [unsigned] int == long 64 LongInt LongWord [unsigned] long long
where XX is platform dependent: natural sizes, so could be 16, 32 or 64, 128 bits, etc.
Groetjes,
Berend.