DADiSP Worksheet Functions > Function Categories > Operating System Interface > GETCOMPUTER
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.
CPU type and OS type return the vendor specific value for the host computer.