lua-users home
lua-l archive

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


>Is there a way in lua to break out of an infinite loop?  I don't see
>anything on the web that covers it...

You mean something like this?

	while true do
		do_something
		if something_else then break end
		do_something_more
	end

--lhf