[Prev][Next][Index][Thread]

# Re: Operators

- Date: Thu, 11 Apr 1996 21:26:52 PDT
- From:
- Reply-To:

    --- "Matthew `GrendelFish' Dockrey" wrote:
    And ((x && !y) || (!x && y)) is fairly clunky.
    --- end of quoted material ---
    Sorry to reply twice, but here's a slightly more elegant, slightly less obvious
    way:
    ((!!x + !!y) == 1)

    -manta

- Prev: Re: Operators
- Next: Re: Operators
- Index: MOO-cows
- Thread: MOO-cows

Home | Subject Index | Thread Index