lua-users home
lua-l archive

Re: iterating over ... ?

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


On Apr 4, 2011, at 2:31 PM, Benoit Germain wrote:
> for _, item in iterate_over( a, b, c) do
> do_something( item)
> end
for _ = 1, 3 do
 do_something( ( select( _, a, b, c ) ) )
end
:P

AltStyle によって変換されたページ (->オリジナル) /