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
print "$i" # or whatever
endloop
So you don't need varnames(). Am I missing something?
Allin