Lua array add item

This article is tagged with: Lua array add item and lua

Lua array add item

local tbl = {}
table.insert(tbl, "Hello World")

Lua array add item

local tbl = {}
tbl[1] = "Hello World"

This article is tagged with: Lua array add item and lua