A simple workaround is to pass a list (instead of a series) with a
default null value and then check that it is actually null/not null.
E.g.:
function void pippo (list Z[null], ...)
...
if !isnull(Z)
...
else
...
endif
...
endfunction
Bye
Giuseppe
On Sat, 2011-10-15 at 10:48 +0100, artur bala wrote:
Dear Allin,
Could it be possible for a function to pass a series as boolean? If the
series is provided it can act like a "- - by" flag.
Best,
artur
_______________________________________________
Gretl-users mailing list
Gretl-users(a)lists.wfu.edu
http://lists.wfu.edu/mailman/listinfo/gretl-users