The old script was
open prod.txt
string D = readfile("pnames.txt")
string line
scalar i = 1
loop while getline(D, line) -q
setinfo i --description="@line"
i++
endloop
labels
It seems, now something changed
nulldata 2
series x1 = normal()
i=2
setinfo i --description="this is x1"
Gives
Command has insufficient arguments
The 'remove' command behaves in
the same fashion
For, example,
One can do this way
sprintf s "%d", i
setinfo @s --description="this is x1"
I'm not sure if this a bug,
but in the same thread it is reported
the old script worked in 2014.
What changed?
Oleh