[fpc-pascal] History of the Cardinal data type?
skalogryz.lists at gmail.com
Tue Mar 29 17:17:25 CEST 2016
On Tue, Mar 29, 2016 at 11:06 AM, Graeme Geldenhuys <
mailinglists at geldenhuys.co.uk> wrote:
> So why does the Object Pascal language have a Cardinal type? Why
> couldn't LongWord be used instead?
In Delphi world LongWord is 64-bit on 64-bit iOS platform and it is 32-bit
on 64-bit Windows platform.
Who know what it would be for future Linux 64 target?!
Thus using LongWord as 32-bit for Delphi is quite volatile.
Cardinal is instead always 32-bit
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the fpc-pascal