if statement
Kilian Hagemann
hagemann1 at EGS.UCT.AC.ZA
Mon Apr 25 12:35:14 EDT 2005
Jean Pierre,
The following script works for me no matter what I set _va to be:
#!/usr/local/grads/bin/gradsnc -lbc
_va = 'sstssh'
if ( _va = ssh | _va = sstssh | _va = sstsshcur | _va = sstsshcur )
say 'Do something'
else
say 'Do something else'
endif
'quit'
I'm using a self-compiled version of grads 1.9b.
--
Kilian Hagemann
Climate Systems Analysis Group
University of Cape Town
Republic of South Africa
Tel(w): ++27 21 650 2748
More information about the gradsusr
mailing list