Hi,
after a long pause I have been trying to put together a function package
again. Unfortunately, it failed, and it looks like a bug to me. This is
with 1.8.3 both on Windows and Linux.
I'm attaching a trivial example of when the bug happens, named
'toplevel.gfn'. Nevertheless, it could be that it isn't even a minimal
example; I'm using a helper function 'secondlevel' in the package,
haven't tried if that is really necessary to trigger the behavior.
This package returns (or should return) a matrix. And if the functions
are run in a script everything works as expected. But in reality nothing
happens, even if I specify a name in the dialog for the new matrix to be
created from the return value.
thanks,
sven
P.S: I noticed that the function namespace is still quite flaky. For
example after an error happens in a top level calling function due to a
bug there, rerunning the corrected version often leads to a situation
where second level functions that are called aren't being recognized by
gretl anymore, although nothing was changed in the second-level
functions. ('Unknown symbol such_and_such') This really reduced
productivity when developing scripts because gretl needs to be closed
and restarted quite often.