-- print array of values -- t0 = { 1,3,7,12,13,21,33,42 } t0["oops"] = "what will happen" -- nothing -- for i in ipairs(t0) do print(t0[i]) end -- print t0 array backwards -- -- the for loop, initialization, condition, step -- for i = #t0, 1, -1 do print(t0[i]) end -- print array of string where a key is of type string (dictionary) -- t1 = { name = "Kyle", ["age"] = 22, ["my status"] = "amused" } for k, v in pairs(t1) do print(k,v) end