<html><head><style> body {height: 100%; color:#000000; font-size:12pt; font-family:Times New Roman;}</style></head><body>Hi!<br> Yes. You can use if function in grads as follows<br>-------------------------------------------------------------<br><code>
if expression<br></code><code>script record<br>endif<br>---------------<br></code>The script records following <code>if
expression </code>are executed if the<br>expression evaluates to a string
containing the character 1.<br>If the expression evaluates to 0, then the
script records in the <code>if</code> block<br>are not executed and the
script continues with record following <code>endif</code>.<br><br>More details are available in Grads documentation on following link<br>http://www.iges.org/grads/gadoc/<br>(Refer section on Grads scripting language)<br>Regards<br>Sujata Mandke<br><br><code><br></code><br>----- Original Message -----<br>From: T. haghroosta <haghroosta@hotmail.com><br>To: gradsusr@gradsusr.org<br>Sent: Tue, 17 Dec 2013 11:12:18 +0530 (IST)<br>Subject: [gradsusr] If function<br><br><div dir="ltr">Hi All,<br> <br>Can I use "if function" in grads? How? Lead me please.<br> <br>Regards,<br> <br>T.<br></div></body></html>