[Gretl-devel] Re: join to dataset with string-values series

2021-06-21 Thread atecon
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

[Gretl-devel] Re: foreach loop with on-the-fly array

2021-06-21 Thread Sven Schreiber
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

[Gretl-devel] Re: foreach loop with on-the-fly array

2021-06-21 Thread Allin Cottrell
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

[Gretl-devel] foreach loop with on-the-fly array

2021-06-21 Thread Sven Schreiber
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