[Thread Prev][Thread Next][Index]

Re: passing numbers to go scripts (probably dumb syntax question)



Thanks to all those who helped with this, it was, indeed, a piece of
syntax.  To restate the problem more clearly than I did the first
time, I wanted to do
repeat/k=1:14 go runmask k
and in runmask select the kth level of a multi-level array which I was
trying with
let temp = mask[k=$1] ! not k = k as I said in the first message
this failed but
let temp = mask[k=`$1`]
seemed to work just fine
thanks again
Peter Rayner


[Thread Prev][Thread Next][Index]

Dept of Commerce / NOAA / OAR / PMEL / TMAP

Contact Us | Privacy Policy | Disclaimer | Accessibility Statement