LOTUSSCRIPT LANGUAGE


Logical Operators
You use the logical operators And, Or, Xor, Eqv, and Imp to perform two kinds of operations:
You use the logical operator Not to perform the same sorts of operations on expressions consisting of a single operand. Not reverses the values of the bits in the binary representation of its operand.

For example:

Print Bin$(Not 3)
' Output: 11111111 11111111 11111111 11111100

Print Bin$(Not False)
' Output: 11111111 11111111 11111111 11111111
Print (Not True)
' Output: 0

See Also