Fenton Posted July 15, 2006 Posted July 15, 2006 (edited) 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, 2006 by Guest
CobaltSky Posted July 15, 2006 Posted July 15, 2006 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.
Recommended Posts
This topic is 6768 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now