Trying to do what I explained in the title.
This is what I tried:
local tab = {}
table.insert(tab, ["123456789"] = "123")
Andd.. it errored. Is there a solution for this problem, or a different method of doing this?
Trying to do what I explained in the title.
This is what I tried:
local tab = {}
table.insert(tab, ["123456789"] = "123")
Andd.. it errored. Is there a solution for this problem, or a different method of doing this?
local tab = {}
tab["123456789"] = "123"
This discussion is preserved as it was. New answers, comments, and votes are closed.
2 comments
This just overwrites, I need to use a table.insert like function.
Fixed