That works when it is set to 577. However if I wanted to go from 513 back to 577 (turn the bit back on) that would not work. I need an operation that can flip-flop and flop-flip a bit in a binary number. [Smile]

Thanks,
Ben

[ 13. September 2002, 14:59: Message edited by: Ben Dulaney ]