2398 Users online, 10.27 mbps
Quick Search
Already a member?
Username:
Password:
Register Here!





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

 
systool/lua/system.iswin64.txt · Acessed 530 times · Last modified: 2006/01/15 00:00