|
I'm trying to construct a 2d associative array like this temp = {"a", "b"} temp["a"] = {"a" = 0, "b" = 2} temp["b"] = {"a" = 1, "b" = 0} What's wrong with the syntax? I'm trying to achieve this.. temp = {"a", "b"} temp["a"] = {} temp["a"]["a"] = 0 temp["a"]["b"] = 2 temp["b"] = {} temp["b"]["a"] = 1 temp["b"]["b"] = 0 thanks