Android Question set a boolean depends Bit.And

wroyw

Member
Licensed User
Hi,

I want set a boolean depends of a Bit.And result.

Code: Copy
Dim Flags As Int = 1
Dim IsSet = Bit.And(Flags,0x01) = 0x01

But IsSet is always false ...
What is the right syntax ?
 
Back
Top