[squeak-dev] how can I test host environment: Pharo or Squeak
Tobias Pape
Das.Linux at gmx.de
Tue Oct 17 15:38:39 UTC 2017
Correct.
But depending on what you do, using Grease or Metacello might be better.
Best regards
-Tobias
> On 17.10.2017, at 17:31, Fabio Niephaus <lists at fniephaus.com> wrote:
>
> 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
>
>
>
More information about the Squeak-dev
mailing list
|