Hi, here's something that I find puzzling (snapshot Feb 7):
<hansl>
clear
catch eval sum(1) # error: "no dataset active"
catch scalar sc = sum(1) # ditto
open djclose.gdt
catch eval sum(djclose) # OK
catch eval sum(1) # weird printout of all values, almost like 'print 1'
catch scalar sc = sum(1) # error: "data types not matched"
catch scalar sc = sum(djclose) # OK
catch scalar sc = sum(1) # error: "sc is scalar, not acceptable"
</hansl>
I can understand the first two occurring "no dataset active" errors if
gretl interprets the '1' as a series ID which it cannot find.
But then: First the behavior yielding the weird printout looks like a bug.
Secondly, the final two different error messages is something I don't
get. Also bugs?
thanks,
sven