Answers for "lua iterate 2d table"

Lua
7

lua loop through table

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

for i, v in pairs(Table) do
	print(i .. ' ' .. v)
end
Posted by: Guest on January-10-2020

Browse Popular Code Answers by Language