On Mon, 3 Nov 1997, Daniel Koepke wrote:
> a = a xor b;
> b = b xor a;
> a = a xor b;
>
>I just use the macro "#define SWAP(a,b) { a ^= b; b ^= a; a ^= b }".
>Even if a lot of people knew this one, I doubt it has any use in
>CircleMUD.
It's used in class.c, line 239.
--
George Greer - Me@Null.net | Genius may have its limitations, but stupidity
http://www.van.ml.org/~greerga | is not thus handicapped. -- Elbert Hubbard
+------------------------------------------------------------+
| Ensure that you have read the CircleMUD Mailing List FAQ: |
| http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
+------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/08/00 PST