bug-gawk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-gawk] Array literal


From: Steven Penny
Subject: Re: [bug-gawk] Array literal
Date: Sat, 25 May 2019 09:37:50 -0500

On Fri, May 24, 2019 at 11:39 PM Wolfgang Laun wrote:
> If anything, a built-in function
> aset( <variable>, <expression>... )
> with the obvious semantics might be much easier to implement.

That is a good idea. Something like "aset" or "anew" as a variadic function
similar to "sprintf" would be great:

    anew(dd, "aa", "bb", "cc")
    dd[2] == "bb"



reply via email to

[Prev in Thread] Current Thread [Next in Thread]