Answers for "check length of table lua"

Lua
2

how to get the length of a table in lua

myTable = {1, 2, 3}

for i = 1, #myTable do
	-- Code
end
Posted by: Guest on June-01-2020

Browse Popular Code Answers by Language