Posted 17 June 2015 - 04:24 AM
Is it possible to put an array inside of an array?
for example:
for example:
{"{"foo", "bar"}", "{"barfoo", "foobar"}"}
{"{"foo", "bar"}", "{"barfoo", "foobar"}"}
local myTable = {{"foo", "bar"}, {"barfoo", "foobar"}}
print(myTable[1][1]) --> foo
print(myTable[1][2]) --> bar
print(myTable[2][1]) --> barfoo
print(myTable[2][2]) --> foobar