[squeak-dev] how can I test host environment: Pharo or Squeak
Fabio Niephaus
lists at fniephaus.com
Tue Oct 17 15:31:39 UTC 2017
This should work:
isSqueak
^ SystemVersion current version beginsWith: 'Squeak'
Best,
Fabio
On Tue, Oct 17, 2017 at 4:15 PM Alan Pinch <alan.c.pinch at gmail.com> wrote:
> I am trying to keep a single package for both. Is there a good clean way
> to test whether I am in squeak or Pharo?
>
> --
> Thank you for your consideration,
> Alan
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20171017/5921d45d/attachment.html>
More information about the Squeak-dev
mailing list
|