Module:Arguments: Difference between revisions

No edit summary
Tag: Reverted
m 1 revision imported
 
(One intermediate revision by one other user not shown)
Line 326: Line 326:
local function inext(t, i)
local function inext(t, i)
-- This uses our __index metamethod
-- This uses our __index metamethod
local v = t[i + 1]
local v = t[i + 1]
if v ~= nil then
if v ~= nil then
return i + 1, v
return i + 1, v