lua loop through table
snippet in lua

lua loop through table

user4098

local Table = {'Cat', 'Dog', 'Bird'}

for i, v in pairs(Table) do
	print(i .. ' ' .. v)
end