www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - How to do an associative array literal?

reply "Janice Caron" <caron800 googlemail.com> writes:
I assume this is possible?

Sorry for such a basic question. I did look in the docs under
Associative Arrays, but if there was anything there about literals, I
missed it.
Oct 15 2007
next sibling parent reply Robert Fraser <fraserofthenight gmail.com> writes:
Janice Caron Wrote:

 I assume this is possible?
 
 Sorry for such a basic question. I did look in the docs under
 Associative Arrays, but if there was anything there about literals, I
 missed it.
http://www.digitalmars.com/d/expression.html#AssocArrayLiteral
Oct 15 2007
parent reply "Janice Caron" <caron800 googlemail.com> writes:
Thanks :-)
Oct 15 2007
parent Bill Baxter <dnewsgroup billbaxter.com> writes:
Janice Caron wrote:
 Thanks :-)
If you're feeling generous could you add a link to the comments page for arrays telling people where to find doc for literals? --bb
Oct 15 2007
prev sibling parent BCS <BCS pathlink.com> writes:
Janice Caron wrote:
 I assume this is possible?
 
 Sorry for such a basic question. I did look in the docs under
 Associative Arrays, but if there was anything there about literals, I
 missed it.
http://www.digitalmars.com/d/expression.html#AssocArrayLiteral
Oct 15 2007