Syntax: Get ( SystemPlatform )
Data type returned: Number
Returns a number that represents the current platform on a user's computer.
Because FileMaker tends to change or add to the values in the platform-checking function (as new versions of operating systems become supported), checks against this function should be performed in a single, central location for ease of future updates. The results of the function may be stored in a global variable during startup, and then referred to for subsequent platform checks throughout the rest of the database. We recommend using a custom function for this purpose.
The reason that this function returns negative numbers is for backward compatibility. Positive 1 and 2 were used for operating systems that are no longer supported by FileMaker Pro.
Returns -1 if the current platform is Mac OS X.
Returns -2 if the platform is Windows 2000 or Windows XP.
: FileMaker Specifications
FileMaker 8 Product Line
Specifications and Storage Limits
Field Types and Import/Export Formats
: Calculation Functions
Working with Calculations Primer
: Custom Functions
Custom Functions Primer
Useful Custom Functions
: Script Steps
Script Step Reference
: Quick Reference
FileMaker Error Codes
FileMaker Keyboard Shortcuts
FileMaker Network Ports
FileMaker Server Command Line Reference
FileMaker XML Reference
: Other Resources
Where to Go for More Information