Any ideas why this would return 8.2 when app is opened on local iPhone?
Its not documented in FM help Get(SystemVersion)
your title says platform, your link says version. Which get function are you using?
version should return the iOS version number, eg iOS8, iOS7, etc...
platform should return 3 for iOS, 4 for webdirect, etc..
double check your calcs.
Thanks for the catch Mike. You get the bonus bucks today!
nah, I just had my coffee this morning. Good to hear it was something so easy.
is their any comprehensive documentation on the output from the function?
I always just google “filemaker 13 get(____)” and find the documentation that way.
Or I also have this page bookmarked:
Doesn’t get much more comprehensive than that.
Piggybacking on what MikeB provided...
If you find yourself in a situation without Internet access, the links that MikeB provided are the same content that is the product Help.
I already posted a link that shows i know how to locate the help files. The documentation says nothing about what a return of 8.2 means. I understand that its an iOS version number but should the help file not contain a matrix of all possible returns and what they mean? I hate guessing
We could probably stand to include a few examples of what is returned on iOS since we provide examples for Windows and Mac. But I feel like the examples provided illustrate pretty well what the results of this calculation could be. But if you have any suggestions / feedback on how to improve upon it I will certainly share them with those that design our help system / examples.
With that said, it would be a daunting task to maintain an up-to-date list of all the OSes and browser versions, including updates, and the values that could be returned using the Get (SystemVersion) function.
I'm trying to build a translation function that's comprehensive and need to know the webdirect presentation...
_v = Get ( SystemVersion ) ;
_v = 5.1 ; "Windows XP" ;
_v = 6 ; "Windows Vista" ;
_v = 6.1 ; "Windows 7" ;
_v = 6.2 ; "Windows 8" ;
_v = 8.1 ; "iOS 4" ;
_v = 8.2 ; "iOS 5" ;
_v = 8.3 ; "iOS 6" ;
_v = 8.4 ; "iOS 7" ;
_v = 8.5 ; "iOS 8" ;
_v > 10 ; "OSx v " & _v ;
When Get (SystemVersion) is invoked from Webd is <device><browser><version> a return delimited list?
What _v = number are missing that the function might return?
Retrieving data ...