Re: and_bits() usage
- Posted by euphoric (admin) Oct 07, 2009
- 1136 views
Okay, so for testing ONE or more bits, you can do this:
my_val = 10 test_val = 2 if and_bits( my_val, test_val ) then --... end if
Do we all agree?
Okay, so for testing ONE or more bits, you can do this:
my_val = 10 test_val = 2 if and_bits( my_val, test_val ) then --... end if
Do we all agree?