version 11 (Modified)
IT_Platform Integer
Parameter | Type | Description | ||||
This command does not require any parameters | ||||||
Function result | Integer | Platform Type (1 = Mac OS, 2 = Windows) |
Description
The IT_Platform function returns an integer value indicating which set of 4D Internet Commands code is currently executing. The function will return a one if running on Mac OS or a 2 if running on Windows.
Example
C_BOOLEAN (<>ITnative) <>ITnative:=(IT_Platform=1)