目录

# GetGuiType 函数

返回一个数字值，用于指定图形用户界面。

此函数仅用于与之前版本的向下兼容。返回值不在客户端-服务器环境中定义。

Wiser script instructions are available from Identifying the operating system help page.

• ScriptForge.Platform service provides a collection of properties about the current execution environment and context, that include platform detection.
• Extensive operating system name identification is available from INFO("system") Calc formula.

## 语法:

             GetGUIType()

## 返回值:

整数

## 返回值:

1: Windows

4: UNIX

## 示例:

             Sub ExampleEnvironment
                 MsgBox GetGUIType
             End Sub