Difference between revisions of "Lua:bXor"

From Cheat Engine
Jump to navigation Jump to search
(Created page with "<h2>bXor(int1, int2) : Binary Xor</h2> <pre> -- 1 ^ 2 print( bXor(1,2) ) -- 3 0001 0010 ----- 0011 </pre>")
 
 
Line 3: Line 3:
 
-- 1 ^ 2
 
-- 1 ^ 2
 
print( bXor(1,2) ) -- 3
 
print( bXor(1,2) ) -- 3
 +
or
 +
print (1 ~ 2) -- 3
  
 
0001
 
0001

Latest revision as of 19:29, 22 February 2021

bXor(int1, int2) : Binary Xor

-- 1 ^ 2
print( bXor(1,2) ) -- 3
or
print (1 ~ 2) -- 3

0001
0010
-----
0011