<br><br><div class="gmail_quote">On Fri, Apr 2, 2010 at 8:29 AM, Davide Sacchetti <span dir="ltr"><<a href="mailto:davide.sacchetti@arpal.org">davide.sacchetti@arpal.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
operators like '>' work for just numbers, not for fields ...<br>
I mean: 5>4 is correct, while vmerId >= 5.0 (pay attention to the<br>
missing 'I' in your script) is not correct: if you want to compare<br>
fields to numbers use maskout function.<br><br></blockquote><div><br></div><div>There is a if() function in the opengrads extensions that allow you to write an if conditional for fields. Take a look at:</div><div><br></div>
<div> <a href="http://opengrads.org/doc/udxt/libbjt/">http://opengrads.org/doc/udxt/libbjt/</a></div><div><br></div><div>Sure, you can accomplish the same with the maskout function but the if() function is somewhat easier to read. </div>
<div><br></div><div> Arlindo</div><div><br></div></div>-- <br>Arlindo da Silva<br><a href="mailto:dasilva@alum.mit.edu">dasilva@alum.mit.edu</a><br>