-vgc Info ok?

Chris via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue May 19 04:36:32 PDT 2015


On Tuesday, 19 May 2015 at 11:08:52 UTC, thedeemon wrote:
> On Monday, 18 May 2015 at 14:30:43 UTC, Chris wrote:
>
>> Why is _accessing_ an assoc treated as indexing it?
>
> Are you sure you understand "indexing" as we do? It's not like 
> indexing of databases, it's just "accessing by index" i.e. 
> using myarray[some_index].

I understood indexing as assigning an index to something

myarray["Index1"] = "First Entry";

As in

https://en.wiktionary.org/wiki/indexing
https://en.wiktionary.org/wiki/index#Verb


More information about the Digitalmars-d-learn mailing list