bug-gawk
[Top][All Lists]
Advanced

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

Re: the wonder of "cannot assign to arbitrary elements"


From: Manuel Collado
Subject: Re: the wonder of "cannot assign to arbitrary elements"
Date: Sun, 12 Dec 2021 20:27:38 +0100
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.5.0

El 12/12/2021 a las 19:52, Denis Shirokov escribió:
BEGIN{
        typeof( a )
        SYMTAB[ "a" ] = 1
        SYMTAB[ "b" ] = 2     # <- here will be an arbitrary element error

}

Instead of "cannot assign to arbitrary elements", the error message could be "variable 'b' does not exist". Will this be more clear?

HTH.
--
Manuel Collado - http://mcollado.z15.es



reply via email to

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