table.insert. I need something like this:
1
2
3
4
5
6
7
8
2
3
4
5
6
7
8
function xd(t)
t = {4}
end
tab = {}
xd(tab)
print(#tab)
This function should add new element to table but it doesn't (no errors). There should be 1 element in table but it's still 0. I can't use
table.insertbecause won't be good solution for me. Any ideas?
Limits in Lua tables? Need solution.
1 
Offline
Yates
