Joe Rod
Discord: joerod1
Hi, when i try to iterate a table it does not iterate in order, i.e.:
prints:
How can be fixed?
Thanks in advance
Code:
testTable =
{
["a"] = 2,
["b"] = 3,
["c"] = 4,
["d"] = 5
}
for i,x in pairs(testTable) do
print(i.."_"..x)
end
prints:
Code:
a_2
d_5
c_4
b_3
How can be fixed?
Thanks in advance