GetOS

Reports the current operating system.

Function Group Execution Windows Embedded Thin Client
GetOS System Info Synchronous Supported Supported Supported

Syntax

GetOS()

This function takes no parameters.

Returned value

0 Windows 3.11
1 Windows 95/98/ME
2 Windows 2000/XP/Vista/7
3 Windows CE/Mobile

Examples

Tag Name Expression
Tag GetOS() //Returned value = 2