📖⚡OR (Binary Bits)

Applies logical AND to the BITS of 2 binary values.

Syntax

LET ResultVariable = Value1 OR Value2

Example

LET B0 = %11110000 OR %10101010


' OR (Bitwise) Example
' OR.txt
' Kic8 

  ' The result will have 1 in a column as long
  ' as at least one source row has 1 in it

  '   11110000
  '   10101010 OR
  ' = 11110000 

  LET B0 = %11110000 OR %10101010


todo: Tutorials: More Operators