Array Append

Ali Çehreli acehreli at yahoo.com
Fri Jun 8 07:56:24 PDT 2012


On 06/08/2012 07:50 AM, Paul wrote:

 > string[ulong] is a standard array
 > ulong[string] would be associative....NO?

No, they are both associative arrays. string[ulong] is a mapping from 
ulong to string, ulong[string] is a mapping from string to ulong.

Ali

-- 
D Programming Language Tutorial: http://ddili.org/ders/d.en/index.html



More information about the Digitalmars-d-learn mailing list