[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: select("#", ...) idiom
- From: "Rici Lake" <lua@...>
- Date: Fri, 16 Sep 2005 10:06:53 +0100 (BST)
Michael Roth said:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Rici Lake wrote:
>
>> In any event, there are few use cases for finding the argument count
>> which
>> do not involve iterating over the arguments; I would far rather have:
>>
>> for i, arg in ieach(...) do process(arg) end
>
> Hmm, could not be written with the ... operator but a table (classic
> 'arg' style) must be created:
See http://lua-users.org/lists/lua-l/2005-09/msg00037.html
- References:
- Re: select("#", ...) idiom, Shannon Stewman
- Re: select("#", ...) idiom, Roberto Ierusalimschy
- Re[2]: select("#", ...) idiom, Doug Currie
- Re: select("#", ...) idiom, Wim Couwenberg
- Re[2]: select("#", ...) idiom, Doug Currie
- Re: Re[2]: select("#", ...) idiom, Rici Lake
- Re: select("#", ...) idiom, Michael Roth