On Tue, 17 Dec 2019, Artur Tarassow wrote:
(sorry for cross-posting Sven, Jack and Allin -- but I think this got missed
some days ago)
using latest git, I am bite puzzled why the returned series is not
string-values any more.
set verbose off
function series foo (const string s)
strings S = defarray(s)
series ret = 1
print ret -o # series is string-valued
series ser = foo("A")
print ser -o # series includes numerical obs.
Please see section 15.4 of the Gretl User's Guide on string-valued
series. This limitation could maybe be relaxed somehow, but it is
documented and a workaround is given.