[Thread Prev][Thread Next][Index]

Conditionals in GO scripts?




Perhaps I haven't tried enough (which is often the case!) but I'm wondering if
it's possible to have a GO script with a conditional based on the value of an
argument.

Something like:

if $3 eq "yz" then
  plot xxx
  go land
else if $3 eq "ab" then
  plot yyy
  go land
end

Thanks!
--
Gary Strand
strandwg@ucar.edu                              http://www.cgd.ucar.edu/ccr/gary


[Thread Prev][Thread Next][Index]

Dept of Commerce / NOAA / OAR / PMEL / TMAP

Contact Us | Privacy Policy | Disclaimer | Accessibility Statement