Dear Logan, Allin and Ignacio,
Thanks a lot for your help. For simplicity reasons I used the solution proposed by Allin.
But I would like to report a little strange behavior. The following command gives different results when executed in different Gretl's builds:
<hansl code>
open australia.gdt
list L = PAU PUS E
eval L[2]
</hansl code>
Output:
Gretl 1.10.0cvs (build 2015-02-04)
? list L = PAU PUS E
? eval L[2]
PUS
Gretl 1.10.0cvs (build 2014-12-31)
? list L = PAU PUS E
? eval L[2]
2
Because of this my code worked just fine with Gretl 1.10.0cvs (build 2014-12-31).
Best,
Henrique Andrade