Re: and_bits() usage

new topic     » goto parent     » topic index » view thread      » older message » newer message

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? smile

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu