'Most Languages
If (8 & 12) Then 'True
If (12 & 8) Then 'True
If (8 & 16) Then 'False as 8 AND 16 = 0
'Method #1
If Bit.And(12,8) = 8 Then 'True
If Bit.And(8,12) = 12 Then 'False
If Bit.And(8,16) = 16 Then 'False
'Method #2
If Bit.And(12,8) <> 0 Then 'True
If Bit.And(8,12) <> 0 Then 'True
If Bit.And(8,16) <> 0 Then 'False