On Sun, 27 Apr 2008, Stefano Balietti wrote:
Currently, if I define a function like:
..
function func ( series a, scalar b[1:2:1], bool c[1], list d[null])
..
I'm supposed to be able to call the above-mentioned function with
something like:
..
a = uniform()
a = func(a)
..
and Gretl is supposed to assign the default values to the scalar b and
the boolean c, and at the same time, gretl should tolerate the absence of
the list d as parameter. The logic is "I omitted the parameters because
I know what I'm doing".
Currently, Gretl complains about the lack of the parameters...
Yes, you're right, that shouldn't happen.
Fixed in CVS, I believe... Ah, except that there seems to be a
problem with connecting to Sourceforge CVS at the moment -- I'll
have to try again later.
Allin Cottrell