Answers for "how are lua tables stored"

Lua
2

lua tables

local favoritefoods_table = {"hamburger", "spaghetti", "pizza", "potato chips"}
--the table--

for i, v in pairs(favoritefoods_table) do --loop through the table-- 
	print(i) --print the number--
  	print(v) --print the value--
end
Posted by: Guest on October-16-2020

Code answers related to "how are lua tables stored"

Browse Popular Code Answers by Language