Dear Sven,
I have tried
function void mmaa (matrix m[null])

    x=1

    print x

end function

and got
Syntax error
My git is outdated by ~5 day's
In fact, this is why I asked it on the list
Oleh

18 грудня 2015, 21:07:33, від "Sven Schreiber" <svetosch@gmx.net>:

Am 18.12.2015 um 16:13 schrieb oleg_komashko@ukr.net:
> Dear all,
> Is there a possibility to set
> defaults values for matrix input vars
> for hansl user-written functions?
> If no, Is there a chance for it to go
> into the wishlist?

If you want to use a default matrix content, make "null" the default 
value in the argument and set the matrix to your wanted default inside 
the function, after checking with exists() or isnull() or whatever.

cheers,
sven

_______________________________________________
Gretl-devel mailing list
Gretl-devel@lists.wfu.edu
http://lists.wfu.edu/mailman/listinfo/gretl-devel