Answers for "looping through an table an adding its values lua"

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

Code answers related to "looping through an table an adding its values lua"

Browse Popular Code Answers by Language