On Tue, 15 Sep 2015, Sven Schreiber wrote:
what ever happenend to this thread dangling in the air for a year
now?:
http://lists.wfu.edu/pipermail/gretl-devel/2014-September/005264.html
I like Logan's idea. I might also like jack's conversion function idea.
Currently it seems we have a bit of a confusion over the how a set of names
is stored or returned: in some functions it's comma-separated, in others it's
space-separated, and then there are string arrays. IMHO this could use some
consolidation.
In any case I don't regard the introduction of a new function like
"varnames"
as evil. Just like in the matrix/matrices distinction, the plural-s indicates
the array nicely I think.
Yes, it could use some consolidation. In the meantime (in CVS) I've
added a varnames() function as you suggest -- like varname() but
returns an array. I was holding off on this, hoping to come up with
a "clever" way of overloading the existing function, but it's
probably cleaner just to add a new one.
Allin