[?] How can I test for my platform in Squeak?
Stephen Travis Pope
stp at create.ucsb.edu
Fri Apr 30 19:05:28 UTC 1999
"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.)
--
stp
Stephen Travis Pope | stp at create.ucsb.edu |
http://www.create.ucsb.edu/~stp
More information about the Squeak-dev
mailing list
|