lua display table code example Example 1: lua print contents of table for k,v in pairs(table) do print(v) end Example 2: table in lua local myTable = {}