Welcome, Guest
Username: Password: Remember me
Discussions for CodeTyphon Object Pascal Programming Language
  • Page:
  • 1

TOPIC:

Native Integer 4 years 11 months ago #14139

  • Andrzej B
  • Andrzej B's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 5
  • Thank you received: 0
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.

Native Integer 4 years 11 months ago #14140

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4535
  • Thank you received: 1114
{$IFDEF CPU64}
nativeInt = int64;
{$ELSE}
nativeInt = integer;
{$ENDIF}
PilotLogic Architect and Core Programmer

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

  • Page:
  • 1