Squeak on MacOS version identification?
John M McIntosh
johnmci at smalltalkconsulting.com
Wed Aug 20 03:52:57 UTC 2003
yes, that should work. os-x officially starts at 1000
On Tuesday, August 19, 2003, at 06:07 PM, David T. Lewis wrote:
> Could some kind person with a Mac please tell me if the following
> expression
> answers true to the question "is Squeak running on a Mac OS platform
> that
> predates Mac OS X and that cannot be treated like a generic Unix
> operating
> system." Thanks.
>
> (Smalltalk platformName = 'Mac OS')
> and: [(Smalltalk osVersion asInteger ifNil: [0]) < 1000]
>
>
>
>
--
========================================================================
===
John M. McIntosh <johnmci at smalltalkconsulting.com> 1-800-477-2659
Corporate Smalltalk Consulting Ltd. http://www.smalltalkconsulting.com
========================================================================
===
More information about the Squeak-dev
mailing list
|