Dear gretl mailing list,
I want to generate strings containing the names of the variables within the respective list. For an individual list it works properly:
<hansl>
open denmark
list ttt = LRM IBO
loop foreach i ttt
sprintf astr "%11s", "$i"
print astr
endloop
<hansl>
But for a loop over different lists, it does not work as I want it to.
<hansl>
list ttt1 = LRM IBO
list ttt2 = IDE LRY
loop j=1..2
loop foreach i ttt$j
sprintf astr "%11s", "$i"
print astr
endloop
endloop
<hansl>
I can't find the problem. Does anyone know a solution?
Best,
Artur