int[string] aa = ["x": 5, "y": 6];
// The value can be set by its key:
aa["x"] = 7;
assert(aa["x"] == 7);
// if the key does not exist will be added
aa["z"] = 8;
assert(aa["z"] == 8);
Let's assume an associative array aa:
int[string] aa = ["x": 5, "y": 6];
Items can be removed by using .remove(), if key exits will be removed and remove returns true:
assert(aa.remove("x"));
if the given key does not exist remove does nothing and returns false:...