Platforms to show: All Mac Windows Linux Cross-Platform

FAQ.How to get the Mac OS system version?

Answer: The following code queries the value and displays the version number:
Example
dim first as Integer
dim second as Integer
dim third as Integer
dim l as Integer

if System.Gestalt("sysv",l) then

Third=Bitwiseand(l,15)
second=Bitwiseand(l\16,15)
first=Bitwiseand(l\256,15)+10*Bitwiseand(l\256\16,15)
end if

if First>=10 then
msgbox "Mac OS X "+str(First)+"."+str(Second)+"."+str(third)
else
msgbox "Mac OS "+str(First)+"."+str(Second)+"."+str(third)
end if

The biggest plugin in space...