next, t, nil = pairs (t)
Returns the 'next' function, the table t, and nil, for use in a for loop. t = { "hello", "world" } for k, v in pairs (t) do print (k, v) end Compare to ipairs which only traverses numerically-keyed entries.
t = { "hello", "world" } for k, v in pairs (t) do print (k, v) end