[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: proposal for change in for protocol
- From: Rebel Neurofog <rebelneurofog@...>
- Date: Tue, 3 Apr 2012 18:18:33 +0400
> Er, no, that's my point: I often use ipairs or pairs like that, but it
> feels awkward. It would be nicer to not have a dummy variable.
There is special name of _ for dummy variable:
for _, value in ipairs (...) do ... end
There's no special reason to add specific function iterating only over values.