Hi all,
maybe I am understanding it wrong, but it seems to me you are discussing on how to use the result from Bit.AND that IMHO should be up to the programmer.
If we look at Bit.AND alone, we all agree that Bit.AND (8,12) returns 8 and so for Bit.AND(12,8).
Now, how we use that returned value 8 should depend on the expected logic in our code. I mean that sometimes we'd like to know whether is zero or not, others if it equals the first or the second parameter and others more if it equals a different number at all.
Think about I/O pin testing. I may be interested at knowing whether one, the other or both pins 2 and 3 (numbering them from 0) are set.
So I'd write a function where I compare the AND result with what I need, passed as a parameter.
That's my 2 cent. If I miserunderstood you, sorry.
udg