July 15, 200619 yr Heads up from another list. On an Intel Mac, 8.5 Advanced: Get (SystemPlatform) returns 1 8 (and all previous) Get (SystemPlatform) returns -1 We will need to use Abs(), like we do with Windows. Edited July 15, 200619 yr by Guest
July 15, 200619 yr 8 (and all previous) Get (SystemPlatform) returns -1 Well, 7 and 8, at any rate. In version 6 and earlier, the equivalent function (then called Status(CurrentPlatform)) returned 1 on MacOS Classic (OS9 and earlier) and -1 on Mac OS X. As a result of this historical perspective, many developers already (and habitually) enclose the test within Abs( ) to determine the OS vendor. We will need to use Abs(), like we do with Windows. You do? Not sure why you'd do that at present with Windows and not with Mac. On Windows, 2 was returned for Win98 or Win95 and -2 for Win2000, WinNT or WinXP. However since FileMaker 7.0v1, the minimum requirement has been Win2000, so the only values that the function returns in FileMaker 7 or 8 are -1 or -2. IOW the use of Abs( ) dates back to version 6, at which time it was required equally for both platforms.
Create an account or sign in to comment