<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Feb 20, 2018 at 6:16 AM, Yann Chemin <span dir="ltr"><<a href="mailto:dr.yann.chemin@gmail.com" target="_blank">dr.yann.chemin@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word;line-break:after-white-space"><div><br></div><div>We tried to use the command prompt to enter the scripts, but it made trouble so we tried on the wxGUI Console, and we found it worked mostly, until we started entering more complex if statements. But that was after we had to remove quotes to enter the r.mapcalc script successfully anyway.</div></div></blockquote><div><br><br></div><div>If I may, here is what I think happened (based on our continuous experience and Helmut having hard time reproducing it). You had troubles, you removed quotes, perhaps also fixed the issue without knowing it. All was fine. Then started to use expressions with && and || which were failing without quotes. More complicated expressions like those with nested ifs were failing too. Those were failing perhaps because there was forgotten space here and there which can happen because they are long/complex and the console in GUI is not in monospaced font* so spaces are quite narrow and can blur with the surrounding characters.<br><br>* Which is probably a bug.<br></div><div><br></div><div>I'm sorry for the monospace and quotes bugs which were certainly not helping you, but my current assessment is that these are only the  two bugs involved here. But of course we want r.mapcalc to be rock solid, so please test & report more if you think it's needed.<br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word;line-break:after-white-space"><div><br></div><div>Would that be related to the issues with internationalisation (<a href="https://trac.osgeo.org/grass/ticket/3500" target="_blank">https://trac.osgeo.org/grass/<wbr>ticket/3500</a>)?</div></div></blockquote><div><br></div><div>Anything is possible and our continuous successful use is with English locale, but my guess is that that's not the case.<br></div><div><br></div><div>Vaclav<br></div></div></div></div>