I understand part of it, but not all of it. I've looked at the wiki but it didn't quite help me.
t = {'a', 'b', 'c', nil, 'd'}
for i,v in ipairs(t) do
print(i, v)
end
What does the i,v part mean?
I understand part of it, but not all of it. I've looked at the wiki but it didn't quite help me.
t = {'a', 'b', 'c', nil, 'd'}
for i,v in ipairs(t) do
print(i, v)
end
What does the i,v part mean?
This discussion is preserved as it was. New answers, comments, and votes are closed.