|
From: | Mart Frauenlob |
Subject: | Re: Negative indexes in address@hidden:off:length} |
Date: | Wed, 29 Jun 2011 21:21:56 +0200 |
User-agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.18) Gecko/20110616 Lightning/1.0b2 Thunderbird/3.1.11 |
On 29.06.2011 18:31, Maarten Billemont wrote:
On 29 Jun 2011, at 14:05, Mart Frauenlob wrote:On 29.06.2011 13:42, Maarten Billemont wrote:On 27 Jun 2011, at 16:25, Chet Ramey wrote:[...]Exactly, let's draw the array in the example: arr=(a b c) values: [ a | b | c ] indexes: 0 1 2 3[...] 4 members?3 members. The index cursor precedes its member, as is commonly done when depicting arrays. Apologies for mentioning the index 3 and somehow confusing you.
It wasn't me being confused.
Note that I prefixed the line with the word "indexes", not "values".
Yes, and that's 3 indexes and values there not 4.
I think we all know value a has the index 0 and value c has the index 2.
All who know, do know - but who knows, who doesn't know? :-)
[Prev in Thread] | Current Thread | [Next in Thread] |