Am 08.11.2012 23:14, schrieb Allin Cottrell:
On Wed, 7 Nov 2012, Henrique Andrade wrote:
> Also I would like to make a suggestion: In my humble opinion, the
> syntax to print list elements is not so intuitive and it looks like
> very different from the other uses of the "print" command. My
> suggestion is use something like this:
>
> print list1 --names
>
> or
>
> print list1 --varnames
Actually it's not so easy to arrange that. The thing is that
lists are basically "transparent" to gretl commands: they
automatically cash out to their membership. And option flags
are generally used to inflect how a command is executed, not
to change radically how it is parsed, as would have to happen
here.
But here's an alternative you might like:
eval varname(list1)
Since I really like the 'eval' command I also like this
alternative :-)
This now works in CVS/snapshots. It should have worked before
but there was a bug in "eval" for handling anonymous strings.
Allin Cottrell
_______________________________________________
Gretl-users mailing list
Gretl-users(a)lists.wfu.edu
http://lists.wfu.edu/mailman/listinfo/gretl-users