lua-users home
lua-l archive

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


>Just a thought... Now that Lua has "for" loop, wouldn't it be nice
>if they could be used in a manner similar to (or even instead of)
>foreach() and foreachi()?

Lua 4.0 will have "for" for tables in the form
	for i,v in t do
	...
	end
--lhf