[fpc-pascal] History of the Cardinal data type?

Martin Schreiber mse00000 at gmail.com
Wed Mar 30 09:28:17 CEST 2016


On Tuesday 29 March 2016 21:54:22 Graeme Geldenhuys wrote:
>
> > I'm inclined to use the (U)IntX (with X being a element of [8,
> > 16, 32, 64]) types to avoid any confusion and surprises.
>
> That's not a bad idea either... I'll look into that for future code.
>
In MSElang the base types in unit "systypes" are named
"int8", "int16", "int32", "int64",
"card8", "card16", "card32", "card64".
Floats are "flo32" and "flo64".
For strings MSElang has
"string8" (utf-8), "string16" (utf-16), "string32" (UCS4) and "string" (any 8 
bit encoding or binary data).
The variable size types (integer, cardinal, real) can be defined in "system".

https://gitlab.com/mseide-msegui/mselang/wikis/home

Martin



More information about the fpc-pascal mailing list