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
"Norton, Chris" wrote:
Hi Folks.
I must have my stupid hat on today...
Well finally somebody took it away from me!
Can anybody tell me how I can determine what platform I'm running from within Squeak?
How about using FileDirectory activeDirectoryClass -- it returns the Mac/Dos/UNIX directory class that's right for the current platform. (It uses a nasty kludj related to the fact that they have different filename separator characters.)
squeak-dev@lists.squeakfoundation.org