OK. Just figured it out. You can iterate through all the elements with pairs
(nil
is not returned)
for index, value in pairs(foo) do
print("i:", index, "v", value)
end
i: 1 v One
i: 2 v Two
i: 3 v Three
i: 5 v Five
OK. Just figured it out. You can iterate through all the elements with pairs
(nil
is not returned)
for index, value in pairs(foo) do
print("i:", index, "v", value)
end
i: 1 v One
i: 2 v Two
i: 3 v Three
i: 5 v Five