On Wed, 10 Jan 2018, Schaff, Frederik wrote:
Some other things I noticed:
A) it would be nice if one could "pipe" return values, i.e. "return
function()" is not a valid statement. This would make things more
readable.
In principle you can. For example the following works OK:
<hansl>
function scalar fun2 (scalar x)
return 2*x
end function
function scalar fun1 (scalar x)
return fun2(3*x)
end function
eval fun1(2)
</hansl>
Can you give us a case where this sort of thing fails?
B) inbundle(bundle,list) returns "7", but this is not
documented.
Storing lists in bundles is a relatively new thing. I've now updated
the help for inbundle().
C) If you have a bundle within a bundle, you cannot save it to
inspect it (via gui, icon view, click on envelop bundle then save..
select the bundle. Nothing happens.)
OK, we'll look into that.
D) If you create an empty bundle like "bundle new" that is
fine, but
"bundle new = null" doesn't do anything, but neither report that.
I can't reproduce that:
<gretl-interactive>
? bundle new = null
? eval new
bundle new: empty
</gretl-interactive>
E) The error msg for functions with a name that is too long (>31
chars) is not informative. Names so long CAN happen if working with
telling quasi-namespaces... (via "_" connected), e.g.
OK, I see what you mean. In git the error message is now better.
F) I have frequent crashes when using the button to move the output
window to the front.
That's serious, but not something that anyone has reported before.
This is on Windows? In English or in German? (Not that that should
make a difference.) 64-bit or 32-bit build? (This may make a
difference.) And you're talking about the little "two windows" button
that pops down a list of gretl windows?
Allin