> > [Aren't you hungry...] > > To exchange two items without an intermediate variable, try: > > b ^= a ^= b ^= a > However, if a == b when you start out, you end up with a == 0 && b == 0. Not according to my truth table -- Gene E. Bloch (...!nsc!voder!gino) The opinions expressed above are accidents.