📖⚡AND (Binary Bits)

Applies logical AND to the BITS of 2 binary values.

Syntax

LET ResultVariable = Value1 AND Value2

Example

LET B0 = %11110000 AND %10101010  'Result is %10101000 


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

' The result will have 1 in a column as long
' as the two source rows both have 1.

'   11110000
'   10101010 AND 
' = 10100000  
LET B0 = %11110000 AND %10101010


todo: Tutorials: More Operators