Get(SystemPlatform)

 <  Day Day Up  >  

Get(SystemPlatform)

Category: Get

Syntax: Get ( SystemPlatform )

Parameters: none

Description: Returns a number that represents the current platform.

Examples:

 

 Get (SystemPlatform) 

returns -1 if the current platform is Mac OS X.

Returns -2 if the platform is Windows 2000 or Windows XP.

Comments:

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 field during startup, and then referred to for subsequent platform checks throughout the rest of the database.

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.

 <  Day Day Up  >  


QUE CORPORATION - Using Filemaker pro X
QUE CORPORATION - Using Filemaker pro X
ISBN: N/A
EAN: N/A
Year: 2003
Pages: 494

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