Bit.bor

From ComputerCraft Wiki
Revision as of 00:20, 27 February 2012 by Zach1231 (Talk | contribs) (0V0=0; 1V0=1; 0V1=1; 1V1=1;)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Explanation

OR outputs the sum of the two values(ex. (1,0)=1; (0,1)=1; (2,0)=2; (2,1)=3), unless they are equal in which it outputs the number. (ex. (0,0)=0; (1,1)=1; (2,2)=2; (3,3)=3)