March 18, 2010
12:03 a.m.
On Wed, Mar 17, 2010 at 03:02:10PM -0700, John M McIntosh wrote:
Ah memories.
That is "Oh is this running on a macintosh, if so then is it running on OSX versus OS 9?"
In OSProcess, I'm using OSProcess class>>isUnixMac "True if the platform is Mac OS on OSX" | osVersion numericOsVersion | osVersion := self osVersion. ^ ('darwin*' match: osVersion "Ian's VM") or: [numericOsVersion := osVersion asInteger ifNil: [0]. (self platformName = 'Mac OS') and: [numericOsVersion >= 1000] "John's VM"]
but the (SmalltalkImage current osVersion asNumber >= 1000 and: [SmalltalkImage current osVersion asNumber < 1030]) still is valid.
What is the significance of version 1030? Dave