lua iterate through table code example
Example: lua loop through table
local Table = {'Cat', 'Dog', 'Bird'}
for i, v in pairs(Table) do
print(i .. ' ' .. v)
end
local Table = {'Cat', 'Dog', 'Bird'}
for i, v in pairs(Table) do
print(i .. ' ' .. v)
end