tbl = { 1, 3, 5, 7, 9 } for i, v in pairs(tbl) do print("index: ") print(i) print(" ") print("value: ") print(v) print("\n") end tbl = { "hello", "world", "from", "array" } for i, v in pairs(tbl) do print("message: ") print(v) print("\n") end