I was using the shell, but I solved it by making mask1 == 1 && mask2 == 1
Thank you 2014-03-15 9:32 GMT-05:00 Glynn Clements <[email protected]>: > > César Augusto Ramírez Franco wrote: > > > I'm getting: > > > > syntax error, unexpected ',', expecting $end > > Parse error > > ERROR: parse error > > > > Everytime I try to do an "if(a,b,c)" statement like: > > > > "mapmask = if(mask1 && mask2, mask2, null())" > > FWIW, I have no problem running that exact command (having first > generated random raster maps named "mask1" and "mask2"). > > Is this via wxGUI or the shell? > > -- > Glynn Clements <[email protected]> > -- *César Augusto Ramírez Franco* Laboratorio de Sistemas Complejos Naturales Escuela de Geociencias Facultad de Ciencias Universidad Nacional de Colombia - Sede Medellín Teléfono: (57-4) 430 9369 - 301 389 5607
_______________________________________________ grass-user mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-user
