Re: [Gretl-users] How to retrieve a list's element name

2015-02-05 Thread Ignacio Diaz-Emparanza
Please, see the solution given by Allin some time ago: http://lists.wfu.edu/pipermail/gretl-users/2012-August/007836.html On 05/02/15 14:46, Henrique Andrade wrote: > 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

Re: [Gretl-users] How to retrieve a list's element name

2015-02-05 Thread Logan Kelly
ary 05, 2015 7:47 AM To: Gretl Discussion List (users) Subject: [Gretl-users] How to retrieve a list's element name 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: open australia.gdt list L = PAU PUS E string S

Re: [Gretl-users] How to retrieve a list's element name

2015-02-05 Thread Henrique Andrade
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: open australia.gdt list L =

[Gretl-users] How to retrieve a list's element name

2015-02-05 Thread Henrique Andrade
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: open australia.gdt list L = PAU PUS E string S = varname(varnum(L[2])) Best, Henrique Andrade Dear Gretl Community,I need to retrieve a name of a

Re: [Gretl-users] How to retrieve a list's element name

2015-02-05 Thread Allin Cottrell
On Thu, 5 Feb 2015, Henrique Andrade wrote: > 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: > > > open australia.gdt > list L = PAU PUS E > > string S = varname(varnum(L[2])) > As an argument for