On Wed, 2 Dec 2020, Riccardo (Jack) Lucchetti wrote:
On Wed, 2 Dec 2020, riles(a)triton.net wrote:
> Hello
>
> for the get_summary() function description I think it would be helpful if
> the description for the list parameter added some more detail. Bellow is
> the current description and the proposed description.
>
> Current
> list list of variables to process.
>
> Proposed change
> list list of variables to process. were list[0] is the total number of
> variables in the list and list[1].....list[n] are there index location of
> the variables in dset
>
> It took me some time to figure this out, but after reading through the code
> I think this is how it works.
In general you're right. However, this convention is common to all the
libgretl function that use lists. I wonder if there's a different and more
prominent place where we could put this information. Allin?
See
http://gretl.sourceforge.net/API/new/gretl/libgretl-Lists.html
Under the initial list of functions the "Description" section
explains how gretl lists work.
Allin