Thanks to everyone who respond to my request. As it turned out the problom was that I had a space just after the \ on the same line. This apparently confused r.mapcalc. Again thanks for the responses. -Brad Cadle -- Brad James Cadle bcadle at hwr.arizona.edu (602)622-1665