making an array lua
snippet in lua

where do lua tables start

user2962

tbl = {"yes"}
tbl[1]
-- Arrays/Tables start at 1

making an array lua

user6226

local Table = {"A", "B", "C", 1, 2, 3} -- Tables can have multiple value types.
print(Table[3]) -- Lua table indices start at 1 rather than 0.