One last thing for today...
It seems to me that if a function stops due to a funcerr command, the
associated message (string) is not displayed if the function is
packaged. Instead I get an alert window with "unspecified error".
(everything works fine in scripts and console)
BTW, I'm more and more impressed about the capabilities of gretl's
scripting language!
Good night,
sven