Comparison of programming languages (associative array): Difference between revisions

Content deleted Content added
Fixed D examples so that it compiles with DMD2
removed newline output in example to comply with the other language examples
Line 213:
<source lang="d">
foreach (key, value; phone_book) {
writeln("Number for " ~ key ~ ": " ~ value ~ "\n" );
}
</source>