06.09.2017, 17:32
(This post was last modified: 06.09.2017, 17:32 by Erwin van der Zwart.)
Hi,
This is a non array structured table, so you should use this:
Check this for explanation of the difference:
The difference between ipairs and pairs
BR,
Erwin
This is a non array structured table, so you should use this:
Code:
a = { f1 = 10, f2 = 20 }
for key,value in pairs(a) do
log(key,value)
end
Check this for explanation of the difference:
The difference between ipairs and pairs
BR,
Erwin