4.3.6 boolean operations
------------------------

and
logical and, may also be written as &&

or
logical or, may also be written as ||

not
logical not, may also be written as !

The precedence of the boolean operations is:

1. parentheses
2. comparisons
3. not
4. and
5. or


Example:
  (1>2) and 3;
==> 0
  1 > 2 and 3;
==> 0
  ! 0 or 1;
==> 1
  !(0 or 1);
==> 0

<font size="-1">
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; User manual for <a href="http://www.singular.uni-kl.de/"><i>Singular</i></a> version 2-0-4, October 2002,
generated by <a href="http://www.gnu.org/software/texinfo/"><i>texi2html</i></a>.
</font>

</body>
</html>
