[gradsusr] If function

Sujata Mandke amin at tropmet.res.in
Tue Dec 17 03:59:58 EST 2013


Hi!
  Yes.  You can use if function in grads as follows
-------------------------------------------------------------

if expression
script record
endif
---------------
The script records following if
expression are executed if the
expression evaluates to a string
containing the character 1.
If the expression evaluates to 0, then the
script records in the if block
are not executed and the
script continues with record following endif.

More details are available in Grads documentation on following link
http://www.iges.org/grads/gadoc/
(Refer section on Grads scripting language)
Regards
Sujata Mandke



----- Original Message -----
From: T. haghroosta <haghroosta at hotmail.com>
To: gradsusr at gradsusr.org
Sent: Tue, 17 Dec 2013 11:12:18 +0530 (IST)
Subject: [gradsusr] If function

Hi All,
 
Can I use "if function" in grads? How? Lead me please.
 
Regards,
 
T.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20131217/76a17955/attachment.html 


More information about the gradsusr mailing list