Xand? Bitwise & Operation
Blitz3D Forums/Blitz3D Beginners Area/Xand? Bitwise & Operation
| ||
How can I check for a Bitwise 'And' operation between two values? I could only find Xor. For example, 43 Xand 6 = 2 because the 'Bits' for 43 = 32 + 8 + 2 + 1 and the 'Bits' for 6 = 4 + 2 So only '2' is an "ON" 'Bit' (1) for both 43 AND 6 |
| ||
The operator And is bitwise in Blitz3D. So, 43 And 6 = 2. |
| ||
So many times I feel like a complete idiot on these forums! Cheers Big10p :D |