Bitwise operations: Difference between revisions

Content added Content deleted
(Added section Logo)
Line 155: Line 155:
=={{header|Logo}}==
=={{header|Logo}}==
to bitwise :a :b
to bitwise :a :b
(print [a and b:] BitAnd :a :b)
(print [a and b:] BitAnd :a :b)
(print [a or b:] BitOr :a :b)
(print [a or b:] BitOr :a :b)
(print [a xor b:] BitXor :a :b)
(print [a xor b:] BitXor :a :b)
(print [not a:] BitNot :a)
(print [not a:] BitNot :a)
end
end
bitwise 255 170
bitwise 255 170