On Jan 31, 2008 10:11 AM, Glynn Clements <[EMAIL PROTECTED]> wrote: ... > The behaviour of && and || is consistent with most other infix > operators operators, insofar as they return null if either argument is > null. > > In newer versions of r.mapcalc (I don't recall exactly which > versions), you can use the &&& and ||| operators, which behave like && > and || except that they follow the common boolean equivalences: > > x &&& false = false > false &&& x = false > > x ||| true = true > true ||| x = true > > even when x is null.
For the record: You kindly implemented that in May 2006: http://lists.osgeo.org/pipermail/grass-dev/2006-May/022848.html Markus _______________________________________________ grass-user mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-user
