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
In context "sth" must be a list, and for a list L you have
loop foreach i L
print "$i" # or whatever
So you don't need varnames(). Am I missing something?
No, I think you're right in this context, I hadn't thought of that.
But while we're at it, what about other array-producing functions, so
using them on the fly is not supported, right?