.NODE

Get(SystemPlatform)

Category: Get

Syntax: Get ( SystemPlatform )

Parameters: None

Data type returned: Number

Description:

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.

Examples:

Function

Results

Get (SystemPlatform)

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

Calculation Signatures

Calculation Functions

: Custom Functions

Custom Functions Primer

Useful Custom Functions

: Script Steps

Scripting Primer

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

show all menu





FileMaker 8 Functions and Scripts Desk Reference
FileMaker 8 Functions and Scripts Desk Reference
ISBN: 0789735113
EAN: 2147483647
Year: 2004
Pages: 352
Similar book on Amazon

Flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net