Hi Sven,
Thanks, this provides more information! I modified my example script following your
suggestions -- see below.
[This is probably OT, sorry]
Doesn't look that way...
Am 19.05.2016 um 19:06 schrieb Summers, Peter:
>
> list ylist = y1 y2
> loop foreach i ylist --quiet
> r = 100*diff(log(ylist[i]))
I find it strange to combine the 'foreach' loop with the numerical indexing
into the list. I would have expected either the following:
loop i=1..nelem(ylist)
... ylist[i]
This version gives the "odd" results in my first message.
or this variant:
loop foreach i ylist
... $i
This variant gives the results I expected -- missing values where they should be.
Looks like the problem is at least partly down to my poor hansl technique!
PS