lua-users home
lua-l archive

Re: how to write command for unlimited time

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


 Why not chime in with this?
	local function foo()
	 ...
	 return foo()
	end
Because Lua does tail-call optimization, this won't blow the stack.
 -spc

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