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

Michael Van Canneyt michael at freepascal.org
Tue Mar 29 17:18:48 CEST 2016



On Tue, 29 Mar 2016, Graeme Geldenhuys wrote:

> Hi,
>
> Just curious. What is the history behind the Cardinal data type. As per
> the FPC documentation, it is always mapped to the LongWord type. I
> presume it is the same in Delphi.

It used to be opposite, if I recall correctly.

Longword used to be Cardinal. 
I guess it was changed for Delphi compatibility.

Michael.



More information about the fpc-pascal mailing list