- Posts: 5
- Thank you received: 0
×
Discussions for CodeTyphon Object Pascal Programming Language
Question Native Integer
- Andrzej B
- Topic Author
- Offline
- Fresh Boarder
-
Less
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?
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
-
- Offline
- Moderator
-
- Ex Pilot, M.Sc, Ph.D
1 week 2 days ago #14140
by Sternas Stefanos
PilotLogic Architect and Core Programmer
Replied by Sternas Stefanos on topic Native Integer
{$IFDEF CPU64}
nativeInt = int64;
{$ELSE}
nativeInt = integer;
{$ENDIF}
nativeInt = int64;
{$ELSE}
nativeInt = integer;
{$ENDIF}
PilotLogic Architect and Core Programmer
Please Log in or Create an account to join the conversation.