not.bmx 140 B

123456
  1. Rem
  2. Not is a boolean unary operator that performs the NOT function.
  3. End Rem
  4. Print Not 0 'prints 1 (TRUE)
  5. Print Not 20 'prints 0 (FALSE)