Olaf wrote: > great, exactly what I was looking for. Only 1 and 0 is possible.
Then you can also do Var2 = 1 - Var1 The outcome is the same, but perhaps this is more obvious than bitwise XORing with 1. And it might execute a wee little faster. Cheers, Paul Vinkenoog