[This is probably OT, sorry]
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]
or this variant:
loop foreach i ylist
... $i
But as I said, this is OT and probably not changing your results.
cheers,
sven