lua-users home
lua-l archive

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


2012/9/16 Petite Abeille <petite.abeille@gmail.com>:
>
> 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.

Good, thanks for the suggestion. But doing this naturally with be even
better :).

-- 
Fidelis Assis