AND

From iMath
Jump to navigation Jump to search

Syntax

condition AND condition


Implemented in iMath since version 2.2.0 or earlier.

Explanation

Combine the two conditions with a logical AND.


Example

0 AND 1 will evaluate to 0.

VAL(x) > 2 AND VAL(x) < 5 will evaluate to 1 if x has a value between 2 and 5.

x == 0 AND y == 0 will always evaluate to -1 because it is not possible to compare symbols and numbers!

See also

OR NEG