Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR LUA

how to get the length of a table in lua

myTable = {1, 2, 3}

for i = 1, #myTable do
	-- Code
end
 
PREVIOUS NEXT
Tagged: #length #table #lua
ADD COMMENT
Topic
Name
7+8 =