Answers for "lua append to a table"

Lua
0

lua add to table

foo = {}
table.insert(foo, "bar")
table.insert(foo, "baz")
Posted by: Guest on January-24-2021
0

lua add to table

table[#table + 1] = val
Posted by: Guest on December-31-2020

Browse Popular Code Answers by Language