int _IsX64
The _IsX64 variable allows finding out the bit version of the terminal, in which an MQL5 application is running: _IsX64=0 for the 32-bit terminal and _IsX64!=0 for the 64-bit terminal.
Also, function TerminalInfoInteger(TERMINAL_X64) can be used.
Example:
// Checking the terminal, in which the program is running
|
See also