Dear Gretl Community,

I need to retrieve a name of a specific element from a list and use it as a string. I tried the following commands:

<hansl code>
open australia.gdt
list L = PAU PUS E

string S = varname(varnum(L[2]))

</hansl code>

Best,
Henrique Andrade