xor operator?

Quinn Dunkan quinn at groat.ugcs.caltech.edu
Tue Jan 30 03:30:34 EST 2001


On Mon, 29 Jan 2001 13:02:30 +0100, jurgen.defurne at philips.com
<jurgen.defurne at philips.com> wrote:
>I have indeed never met a language which had a boolean XOR (but some
>have a binary XOR).

if true xor false then
   std_output.put_string("eiffel does!%N");
end; -- and we can't use the std abbreviations, either, Just Because!

Not that I've ever actually used it or anything.  We only need one kind of
loop, because that's "minimal", but hey, pile on the random boolean operators!

:)



More information about the Python-list mailing list