📖⚡ORNot (Binary Bits)

Applies logical ORNOT to the BITS of 2 binary values.

Syntax

LET ResultVariable = Value1 ORNOT Value2

Example

LET B0 = %11110000 ORNOT %10101010


 

' OrNot (Binary Bits) Example
' OrNot.txt
' Kic8 


' The result will have 1 in a column as long as:
' First row has 1 in it OR
' Second row has 0 in it
' Result = A OR (Not B)
  
'   11110000
'   10101010 OR
' = 11110000 

LET w0 = %11110000 ORNOT %10101010



todo: Tutorials: More Operators