system.iswin64 Function
Syntax
system.iswin64()
Parameters
none
Return Value
- boolean
TRUE is the system is running 64-bit Windows. FALSE is Windows is 32-bit.
Remarks
This does NOT return if the CPU is 64 bit capable. It returns TRUE only if the running Windows version is a 64-bit Edition, ie. Windows XP Professional 64-bit Edition.
Example
if system.iswin64() then
trace("running on 64-bit")
else
trace("running on 32-bit")
end
See also
