Thanks. I will publish what I did and we can iterate from here. I have isUnix isRiscOS isMacOS isWin32 isWin32CE And I imagine that I will need isMacOS9 isMacOSX On Mar 18, 2010, at 1:03 AM, David T. Lewis wrote:
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?
Yes this was my question?
Dave
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project