[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Multiple values returned or vararg expression in numeric for loop
- From: steve donovan <steve.j.donovan@...>
- Date: Sun, 16 Sep 2012 18:38:16 +0100
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.