lua insert table code example
Example 1: lua add to table
table[#table + 1] = val
Example 2: lua how to add something to a table
foo = {}
table.insert(foo, "bar")
table.insert(foo, "baz")
table[#table + 1] = val
foo = {}
table.insert(foo, "bar")
table.insert(foo, "baz")