sysarch

Returns the platform that Templex is being run on.

Syntax

sysarch

Input

N/A

Example

{
if (sysarch() == “win64” || sysarch() == “linux64”)
wordsize = 64
else
 wordsize = 32
endif
}

Comments

The platform type options include:
  • win32
  • win64
  • linux32
  • linux64