lua-users home
lua-l archive

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


| I've run into trouble with 'n' too, where I would like to foreach
| over a table but then I have to special case out the 'n' element.
| There was some discussion about changing 'n' to getn()/setn() which
| IMO is a great idea, but I don't know if it went anywhere.

I agree it should be sorted out. Discussion moved to the wiki :-
http://lua-users.org/wiki/LuaTableSize