Multi-Dimensional Associative Arrays ".get" and "in"

Paul phshaffer at gmail.com
Wed Jun 6 07:17:17 PDT 2012


I've seen examples using .get and "in" to test for keys:
....aa.get("hello", "salute") == "ciao"....
...."hello" in aa....

Can I use this .get function or "in" operator with multi-D arrays?

string[string][string][string] aa;

....if (["hello"][][] in aa).... ?



More information about the Digitalmars-d-learn mailing list