lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Sun, Sep 16, 2012 at 6:26 PM, Fidelis Assis <fidelis.assis@gmail.com> wrote:
> for _,v in ipairs(<table>) do

In Lua 5.0, 'k,v in t' used to be short for 'k,v in pairs(t)'.  It was
deprecated because pairs/ipairs makes it absolutely clear what kind of
table iteration is used.

steve d.