Hi,
see this:
<hansl>
thislag = 3
series hey = normal()
list L = lags(thislag, hey)
eval nelem(L)
list LL = lags({thislag}, hey)
eval nelem(LL)
matrix lagseq = seq(thislag, thislag)
list LLL = lags(lagseq, hey)
eval nelem(LLL)
</hansl>
Every time I get a 3-element list, wheras according to the lags() spec
only the lag numbers specified in the vector argument should be calculated.
I understand this comes from gretl allowing a 1x1 matrix for a scalar.
But this is a problem when the vector argument inside a program might
become a 1-element thing depending on other choices.
Not sure what a good solution would be, though.
thanks,
sven