Am 18.11.2011 14:09, schrieb Marco van de Voort:
In our previous episode, Graeme Geldenhuys said:
like this: I still can't remember which of SmallInt and Short is the 1
Byte and the 2 Byte variant. Some type names like "Signed8" and
"Unsigned16" would simplyfy this... but I won't go more into that
direction now ^^
For exactly the same reason I have a A5 "cheat sheet" lying on my desk
for the last two years. :-) It contains all the Object Pascal primitive
types with their ranges and size in bytes. It also has some C/C++ alias
types and what they equate to in Object Pascal (eg: DWord -> Cardinal,
UInt -> Cardinal etc)
This will have to be fixed out of Delphi compatibility. D2009+ defines
(u)int8/16/32/64. I'll see to it in the coming weekend (though it will be
too late for 2.6.0)
Finally :D
Regards,
Sven
_______________________________________________
fpc-devel maillist - [email protected]
http://lists.freepascal.org/mailman/listinfo/fpc-devel