Get(SystemPlatform)
 
Purpose 
Returns a number representing the current platform.
Format 
Get(SystemPlatform)
Parameters 
None
Data type returned 
number
Originated in 
FileMaker Pro 6.0 or earlier
Description 
Returns:
 •
1 if the current platform is Intel-based Macs
 •
-2 if the platform is Windows
 •
3 if the platform is iOS
 •
4 if the platform is FileMaker WebDirect
Note  For information on how functions evaluate differently on the host versus the client, search the FileMaker Knowledge Base available at http://help.filemaker.com.
Examples 
Get(SystemPlatform) returns -2 when the current platform is a Windows platform.
Abs(Get(SystemPlatform)) returns 1 when the current platform is OS X.
Related topics 
Functions reference (category list)
Functions reference (alphabetical list)
About formulas
About functions
Defining calculation fields
Using operators in formulas