Difference between revisions of "Lua:bAnd"

From Cheat Engine
Jump to navigation Jump to search
(Created page with "<h2>bAnd(int1, int2) : Binary And</h2> <pre> -- 1 & 2 print( bAnd(1,2) ) -- 0 0001 0010 ----- 0000 </pre>")
 
 
Line 3: Line 3:
 
-- 1 & 2
 
-- 1 & 2
 
print( bAnd(1,2) ) -- 0
 
print( bAnd(1,2) ) -- 0
 +
or
 +
print (1 & 2)
  
 
0001
 
0001

Latest revision as of 19:29, 22 February 2021

bAnd(int1, int2) : Binary And

-- 1 & 2
print( bAnd(1,2) ) -- 0
or
print (1 & 2)

0001
0010
-----
0000