Difference between revisions of "Lua:bShl"

From Cheat Engine
Jump to navigation Jump to search
(Created page with "<h2>bShl(int, int2) : Binary shift left</h2> <pre> -- 1 << 1 print( bShl(1,1) ) -- 2 0001 ----- 0010 </pre>")
 
 
Line 3: Line 3:
 
-- 1 << 1
 
-- 1 << 1
 
print( bShl(1,1) ) -- 2
 
print( bShl(1,1) ) -- 2
 +
or
 +
print(1 << 1)
  
 
0001
 
0001

Latest revision as of 23:29, 22 February 2021

bShl(int, int2) : Binary shift left

-- 1 << 1
print( bShl(1,1) ) -- 2
or
print(1 << 1)

0001
-----
0010