Am 21.06.2021 07:39 schrieb atecon:
Hi all,
I've re-compiled gretl this morning using the latest git master state.
A script which worked last Friday does not work anymore when trying to
join a numerical time-series to a dataset which comprises both numeric
and string-valued series. The error is
Am 21.06.2021 um 15:31 schrieb Allin Cottrell:
On Mon, 21 Jun 2021, Sven Schreiber wrote:
loop foreach i varnames(sth)
doesn't work, but
vn = varnames(sth)
loop foreach i vn
does.
In context "sth" must be a list, and for a list L you have
loop foreach i L
print "$i" # or whatever
endl
On Mon, 21 Jun 2021, Sven Schreiber wrote:
Hi,
not sure whether it's a bug or simply a known limitation of the parser:
loop foreach i varnames(sth)
doesn't work, but
vn = varnames(sth)
loop foreach i vn
does.
In context "sth" must be a list, and for a list L you have
loop foreach i L
Hi,
not sure whether it's a bug or simply a known limitation of the parser:
loop foreach i varnames(sth)
doesn't work, but
vn = varnames(sth)
loop foreach i vn
does.
I know that this array-loop thing is fairly new in any case.
This is with 2021b.
cheers
sven