Returns the computer type, OS type, CPU type for the host computer.
GETCOMPUTER(type)
type |
- |
Optional. An integer, the information type.
|
An integer, the computer type, CPU type or OS type.
getcomputer()
returns 0 for a Windows machine.
getcomputer(1)
returns an integer representing the OS version of the host computer.
getcomputer(200)
returns 1 if array indices are 64 bit integers, else 0.
getcomputer(300)
returns an integer representing the build number of the OS.
getcomputer(400)
returns 1 if the user is administrator, else 0.
CPU type and OS type return the vendor specific value for the host computer.