lua-users home
lua-l archive

Re: Why can't I do for...in on a table?

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


You mean, in Lua 5.1?
Try
	for k,v in next,t do ... end
--lhf

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