--A table type is declared with ={} table = { 3, 6, 9, 12, 15 } function onGrab() --declare with for statement local t = {} for i = 1, 5 do t[i] = i end --display the table at once print(t[1]..t[2]..t[3]..t[4]..t[5]) --display it with for statement --#table will return the element count (length) of the table for i = 1, #table do print("The value for table "..i.." is "..table[i]) end end