Android Question set a boolean depends Bit.And

wroyw

Member
Licensed User
Hi,

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

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

But IsSet is always false ...
What is the right syntax ?
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…