![]() |
Next Page |
| Contents > Functions reference (alphabetical list) > Get functions > Get(SystemPlatform) function |
|
|
| Get(SystemPlatform) function |
| Format |
Get(SystemPlatform) |
| Parameter |
| None |
| Data type returned |
| number |
| Description |
| Returns a number indicating the current platform: |
| -1 if the current platform is PowerPC-based Macs |
| 1 if the current platform is Intel-based Macs |
| -2 if the platform is Windows XP or Windows Vista |
| Note See Solving calculations on a host machine for information about running scripts in client/server and peer-to-peer environments. |
| Examples |
| Get(SystemPlatform) returns -2 when the current platform is a Windows platform. |
| Abs(Get(SystemPlatform)) returns 1 when the current platform is Mac OS X. |
| Related topics |
| Functions reference (category list) |
| Functions reference (alphabetical list) |
| About formulas |
| About functions |
| Defining calculation fields |
| Using operators in formulas |
|
|
| Contents > Functions reference (alphabetical list) > Get functions > Get(SystemPlatform) function | Next Page |