Lua array add item code example
Example 1: Lua array add item
local tbl = {}
table.insert(tbl, "Hello World")
Example 2: Lua array add item
local tbl = {}
tbl[1] = "Hello World"
local tbl = {}
table.insert(tbl, "Hello World")
local tbl = {}
tbl[1] = "Hello World"