Jan, Wow! That's neat! But X and Y must have TYPE compatible with XOR. -Doug Danforth On 3/15/2014 4:48 PM, Jan Verhoeven wrote: > Nothing beats > > X := X XOR Y > Y := X XOR Y > X := X XOR Y