tables in lua code example
Example 1: where do lua tables start
tbl = {"yes"}
tbl[1]
-- Arrays/Tables start at 1
Example 2: lua tables
local Table = {
["TABLE_info"] = "TABLE_response"
}
for i, v in pairs(Table) do
print(v)
end
tbl = {"yes"}
tbl[1]
-- Arrays/Tables start at 1
local Table = {
["TABLE_info"] = "TABLE_response"
}
for i, v in pairs(Table) do
print(v)
end