Forum
× Discussions for CodeTyphon Object Pascal Programming Language

Question Native Integer

  • Andrzej B
  • Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
More
1 week 3 days ago #14139 by Andrzej B
Native Integer was created by Andrzej B
How distinguish between 32 and 64 bit mode at preprocessor level?
similary
{$IFDEF 64bitMode}
nativeInt = int64;
{$ELSE}
nativeInt = integer;
{$ENDIF}
or is already native integer type?

Please Log in or Create an account to join the conversation.

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
More
1 week 2 days ago #14140 by Sternas Stefanos
Replied by Sternas Stefanos on topic Native Integer
{$IFDEF CPU64}
nativeInt = int64;
{$ELSE}
nativeInt = integer;
{$ENDIF}

PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.