JEDI Help:HardwareArchitecture

From Project JEDI Wiki
Jump to navigationJump to search
JEDI Help

Search in JEDI Help

 
Search in all projects
 


Summary

Compiler symbols for detecting hardware architecture.


Pascal

 {$IFDEF SYMBOL}
 // This code will be compiled only if this platform is targeted
 {$ENDIF SYMBOL}


Description

Once jedi.inc is included at the top of your pascal source file, the following compiler symbols are defined depending on the target hardware.
These symbols can be used for code conditional compilation based on hardware architecture.

Symbol Description
CPU386 Defined when target platform is native x86 (win32)
CPUx86_64 Defined when target platform is native x86_64 (win64)
CPU32 Defined when target is 32-bit
CPU64 Defined when target is 64-bit
CPUASM Defined when target assembler is available


About

Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page