Alas, that won't work. You need a different name, otherwise it compiles to the same thing.pgimeno wrote: ↑Fri Nov 10, 2023 12:07 am You can replace them all at once, by overriding the default pairs() function with this one:
Code: Select all
function pairs(t) return next, t, nil end
Code: Select all
function xpairs(t)
return next, t, nil
end