How to find out OsX Version?

BlitzMax Forums/BlitzMax Programming/How to find out OsX Version?

Midimaster(Posted 2010) [#1]
Id there a way for BlitzMax to find out the exact version number of the MAC OsX my program is running on? ...and save it into a variable?


Brucey(Posted 2010) [#2]
I believe you can call the function
Gestalt(tag:int, result:int var)

It is available in Pub.Macos

tag is an id for the information to return in the result variable.

Some more details here : http://www.cocoadev.com/index.pl?DeterminingOSVersion