platform()

Function group Execute on client Platform(s)
General NO All

Syntax

platform()

Description

Returns the OS code for the current Omnis executable.

Example

Calculate lPlatform as  platform()
# returns 'N' on Windows NT/2000/2003/XP/Vista/Win7/8/10
# returns 'X' on macOS
# returns 'U' on Linux
# returns 'W' on Windows 95/98/ME ## deprecated