Keep It Simple, Stupid | |
PerlMonks |
Re^3: A "but" operator.by SpanishInquisition (Pilgrim) |
on Sep 27, 2004 at 19:53 UTC ( [id://394324]=note: print w/replies, xml ) | Need Help?? |
In your analogy, but can't be XOR, it's ($A and !$B). XOR is ($A and !$B) || (!$A and $B). Or equivalently, but could be "A and (A XOR B)", if you prefer to keep it complicated and silly, in a Lewis Caroll (sp?) sort of way.
In Section
Meditations
|
|