Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR LUA

lua for loop

-- For K,V in table
for k,v in pairs(tbl) do
 print(k)
 print(v)
end
-- For i=0, num
for i=0, num do
 print(i)  
end
 
PREVIOUS NEXT
Tagged: #lua #loop
ADD COMMENT
Topic
Name
4+8 =