[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: ipairs and extending numeric for loop
- From: Duncan Cross <duncan.cross@...>
- Date: Wed, 26 May 2010 16:59:54 +0100
On Wed, May 26, 2010 at 4:50 PM, phlnc8 <phlnc8@gmail.com> wrote:
> What would be lost then is general iteration forms such as:
> for a,b,c,d,e in some_iterator_returning_five_values() do ...
>
> Is that frequent?
Yes - string.gmatch() returns an arbitrary number of capture values. I
use this quite a lot.
-Duncan