[squeak-dev] How to tell if you have a boolean when you care to know

Michael van der Gulik mikevdg at gmail.com
Wed Mar 25 21:01:36 UTC 2009


On 3/25/09, Jerome Peace <peace_the_dreamer at yahoo.com> wrote:
>
>
> In another tread Keith Hodges wrote:
>
> 2009/3/24 Keith Hodges <keith_hodges at yahoo.co.uk>
>
>> true xor: [ true ]  => true
>>
>> discuss
>>
>> Keith
>
> a simple guard for a boolean can be written simply.
>
> true xor: bar aBoolean

Don't you mean >>asBoolean?

Gulik.

-- 
http://gulik.pbwiki.com/



More information about the Squeak-dev mailing list