Thank you for the quick reply, Allin. I totally missed this -- but good
to know.
An alternative I have used is:
<hansl>
list X = LRM LRY
lname = strsub(varname(X),","," ")
loop i=1..2 -q
string vname = strsplit(lname,$i)
print vname
endloop
</hansl>
Artur
It's a recent change; see
http://lists.wfu.edu/pipermail/gretl-users/2015-January/010568.html
The syntax Listname[i] now gives you the series at position i in the
list (previously there was no direct way of getting that). To get the
series ID number you have to "cast" the list to a matrix:
<hansl>
open denmark.gdt -q
list X = LRM LRY
matrix Xm = X
loop i=1..2 -q
string vname = varname(Xm[i])
print vname
endloop
</hansl>
Allin