Difference between revisions of "Lua:bOr"
Jump to navigation
Jump to search
(Created page with "<h2>bOr(int1, int2) : Binary Or</h2> <pre> print( bOr(1,2) ) -- 3 </pre>") |
|||
Line 1: | Line 1: | ||
<h2>bOr(int1, int2) : Binary Or</h2> | <h2>bOr(int1, int2) : Binary Or</h2> | ||
<pre> | <pre> | ||
+ | -- 1 | 2 | ||
print( bOr(1,2) ) -- 3 | print( bOr(1,2) ) -- 3 | ||
+ | |||
+ | 0001 | ||
+ | 0010 | ||
+ | ----- | ||
+ | 0011 | ||
</pre> | </pre> |
Revision as of 02:23, 17 February 2021
bOr(int1, int2) : Binary Or
-- 1 | 2 print( bOr(1,2) ) -- 3 0001 0010 ----- 0011