Associative Array, key and value as type of string or char[]

timewulf timewulf at network-application.de
Sat Feb 2 08:18:21 PST 2013


On 02.02.2013 17:06, FG wrote:
> On 2013-02-02 16:06, Namespace wrote:
>>      string[string] ch_Description = [
>>          "kill" : "kills a process",
>>          "pause" : "pauses a process"
>>      ];
>>
>>      writeln(ch_Description); // does not work, but it should
> 
> Doesn't work in the current version? In DMD 2.060 it works.

I tried in dmd 2.061 and git-version from yesterday: Both work!


More information about the Digitalmars-d-learn mailing list