No I don't. It happens on different computers. But since I've compiled it, the problem could lie there. This is a fairly recent phenomenon or I would have reported it long ago. I don't know how recent, however, since I don't remember the other times I've tried to use an if statement like this (i.e., when it worked, I would not have noticed any problems).
Michael ____________________ C. Michael Barton Director, Center for Social Dynamics & Complexity Professor of Anthropology, School of Human Evolution & Social Change Arizona State University voice: 480-965-6262 (SHESC), 480-727-9746 (CSDC) fax: 480-965-7671 (SHESC), 480-727-0709 (CSDC) www: http://www.public.asu.edu/~cmbarton, http://csdc.asu.edu On Jul 28, 2011, at 12:03 PM, Glynn Clements wrote: > > Michael Barton wrote: > >> Somehow, the 2nd part of the if clause is being ignored. I've done >> this in GRASS 6.5 and 7 with the same results (with the changed of >> syntax needed for GRASS 7). Am I missing something here? > > If such a fundamental error existed in r.mapcalc itself, I'm fairly > sure that you wouldn't be the only person seeing it. So it would seem > to be a problem with your system, your GRASS build, or your data. > Unfortunately, I have no idea what. > > Do you get odd results for any module other than r.mapcalc? > > -- > Glynn Clements <gl...@gclements.plus.com> _______________________________________________ grass-dev mailing list grass-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-dev