MOO-cows Mailing List Archive

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

Re: Operators



--- "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



Home | Subject Index | Thread Index