A nicer way is to ask for the service you are interested in, and if it fails, then you're on the wrong platform. The nice thing about doing it this way, is that the item you think is platform specific today, might be ported somewhere else tomorrow.
Lex
"Norton, Chris" <chrisn(a)Kronos.com> wrote:
> Hi Folks.
>
> I must have my stupid hat on today...
>
> Can anybody tell me how I can determine what platform I'm running from
> within Squeak?
>
> My goal, obviously, is to muck around with some platform dependant stuff
> (i.e. I thought I'd try something that is Windows specific) and I'd like to
> ensure that my code won't blow up on one of the myriad other Squeak boxes
> that are out there.
>
> Thanks!
>
> ---==> Chris