[squeak-dev] how can I test host environment: Pharo or Squeak
Das.Linux at gmx.de
Tue Oct 17 15:38:39 UTC 2017
But depending on what you do, using Grease or Metacello might be better.
> On 17.10.2017, at 17:31, Fabio Niephaus <lists at fniephaus.com> wrote:
> This should work:
> ^ SystemVersion current version beginsWith: 'Squeak'
> 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,
More information about the Squeak-dev