bug-gnu-utils
[Top][All Lists]
Advanced

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

Re: gawk 3.1.5 array question...


From: Andreas Schwab
Subject: Re: gawk 3.1.5 array question...
Date: Sat, 29 Apr 2006 20:23:53 +0200
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux)

Jeff Chua <address@hidden> writes:

> This is a bug or a feature? Notice that x["b"] was never defined ...

Any reference to a nonexistent array element automatically creates it
(except for the in operator).

Andreas.

-- 
Andreas Schwab, SuSE Labs, address@hidden
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




reply via email to

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