On Tue, 29 Mar 2016, Dmitry Boyarintsev wrote:

On Tue, Mar 29, 2016 at 11:06 AM, Graeme Geldenhuys <
mailingli...@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.

Which is quite confusing and a really bad decision.
Basic integer types should not depend on the OS. On the CPU, yes.

Michael.
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to