[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: Petite Abeille <petite.abeille@...>
- Date: Sun, 16 Sep 2012 20:18:35 +0200
On Sep 16, 2012, at 7:59 PM, Fidelis Assis <fidelis.assis@gmail.com> wrote:
> Anyway, I miss the short "for v in t".
You can achieve the same effect by making your table 'callable' (i.e. __call) and return an appropriate iterator.
- References:
- Multiple values returned or vararg expression in numeric for loop, Egor Skriptunoff
- Re: Multiple values returned or vararg expression in numeric for loop, Michal Kolodziejczyk
- Re: Multiple values returned or vararg expression in numeric for loop, Roberto Ierusalimschy
- Re: Multiple values returned or vararg expression in numeric for loop, Dimitris Papavasiliou
- Re: Multiple values returned or vararg expression in numeric for loop, Luiz Henrique de Figueiredo
- Re: Multiple values returned or vararg expression in numeric for loop, Dimitris Papavasiliou
- Re: Multiple values returned or vararg expression in numeric for loop, Roberto Ierusalimschy
- Re: Multiple values returned or vararg expression in numeric for loop, Egor Skriptunoff
- Re: Multiple values returned or vararg expression in numeric for loop, Fidelis Assis
- Re: Multiple values returned or vararg expression in numeric for loop, steve donovan
- Re: Multiple values returned or vararg expression in numeric for loop, Fidelis Assis