[ library(suspend) | The ECLiPSe Libraries | Reference Manual | Alphabetic Index ]
# and(?Expr1, ?Expr2, ?Bool)

Reified boolean operation
*Expr1*
- An arithmetic expression
*Expr2*
- An arithmetic expression
*Bool*
- Variable, 0 or 1

## Description

Reified version of and/2, i.e. the truth value of the boolean operation
is reflected in the value of the 0/1 variable Bool.
This constraint suspends until its first two arguments are ground.
It then unifies Bool according to the truth value of the corresponding
and/2 constraint.

### Modules

This predicate is sensitive to its module context (tool predicate, see @/2).
### Exceptions

*(24) number expected *
- Expr1 or Expr2 is not an arithmetic expression.

## See Also

and / 2