Associative array mapping strings to strings

Jarrett Billingsley kb3ctd2 at yahoo.com
Sat Apr 15 09:11:31 PDT 2006


"Chris Nicholson-Sauls" <ibisbasenji at gmail.com> wrote in message 
news:e1qdm4$1l8i$1 at digitaldaemon.com...
> # foreach (key, value; strings) {
> #   writefln(`%s: %s`c, key, value);
> # }
>
> Type inference

You and your dirty type inference.  ;)

> formatting safety.

Oh!  Yeah, I always forget to do that with strings.  Then I end up with a 
format exception and wonder why. 





More information about the Digitalmars-d-learn mailing list