AND

From iMath
Revision as of 14:54, 8 July 2017 by Jrheinlaender (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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