Does D 2.110 support named parameters, and if so, what configuration is necessary,
such as -preview=all

The following code doesn't compile on Window 11.
Is there D syntax that does work?

```
void main() {
   string[string] dictionary = [
           "blue": "mavi", "red": "kırmızı", "gray": "gri"
       ];
   }

// Want to have default keySeparator by ": "
printAA("Color Dictionary", aa, commaSeparator: "\n");

void printAA(string title, string[string] aa, string keySeparator = ": ", string commaSeparator = ", ")
{
    // ...
}



```
  • Does D 2.110 sup... Brother Bill via Digitalmars-d-learn
    • Re: Does D ... Richard (Rikki) Andrew Cattermole via Digitalmars-d-learn
      • Re: Doe... Brother Bill via Digitalmars-d-learn
      • Re: Doe... Dom Disc via Digitalmars-d-learn
        • Re:... Brother Bill via Digitalmars-d-learn
          • ... Dom Disc via Digitalmars-d-learn

Reply via email to