[fpc-pascal] History of the Cardinal data type?
mailinglists at geldenhuys.co.uk
Tue Mar 29 17:27:22 CEST 2016
On 2016-03-29 16:13, Marco van de Voort wrote:
> Cardinal is the Wirthian designation for the default unsigned integer,
> just like "integer" is for signed.
Thanks Marco, that fulfils my curiosity. :)
On a side note:
The reason I asked this question. I'm working on code with many Record
types with fields of type Word, Smallint etc, than then some Cardinal
fields got mixed in too. I would normally use LongWord instead of
Cardinal to keep to a consistent naming convention. But from your
comments Cardinal has a long history in Pascal.
- Graeme -
More information about the fpc-pascal