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

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

Re: Gawk manual: 7.2 Referring to an Array Element


From: Aharon Robbins
Subject: Re: Gawk manual: 7.2 Referring to an Array Element
Date: Thu, 13 Aug 2009 21:27:47 +0300

This is a good idea!  I'll put it on the TODO list.

Thanks!

Arnold

> Date: Thu, 13 Aug 2009 11:57:04 +0200
> From: Hermann Peifer <address@hidden>
> To: address@hidden
> Subject: Gawk manual: 7.2 Referring to an Array Element
>
> Here a small enhancement request related to the Gawk manual. Section 7.2 
> says:
>  > ... array[index] ...
>  > ... index in array ..
>
> http://www.gnu.org/software/gawk/manual/gawk.html#Reference-to-Elements
>
> Some newcomers (like me some time ago) could try to literally use "for 
> (index in array)...", which will throw a fatal error,as index is a 
> reserved word for a built-in string function.
>
> It would perhaps be better to consistently use "subscript" in the 
> documentation, as in section 7.4
>
> > array[subscript] = value
>
> Hermann 




reply via email to

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