Answers for "lua array[value]"

Lua
3

making an array lua

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.
Posted by: Guest on May-17-2020

Browse Popular Code Answers by Language