lua-users home
lua-l archive

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


On Thu, Jan 27, 2011 at 11:49 PM, Xavier Wang <weasley.wx@gmail.com> wrote:
> how about using a local variable to replace label?

I don't local variables can completely replace labels in the above
proposal (as opposed to [1]).  However, my above suggestion for
implicitly naming variables could incorporate the loop variable name
in the label.  Therefore, :forfor: could be replaced with :kk: .

[1] http://lua-users.org/lists/lua-l/2010-11/msg00556.html