To iterate over all the key-value pairs in a table you can use pairs : for k, v in pairs(arr) do print(k, v[1], v[2], v[3]) end. outputs:
確定! 回上一頁