[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: NEWBIE Question: LUA wait() function?
- From: Jorge Visca <xxopxe@...>
- Date: Tue, 11 Mar 2008 23:04:06 -0300
For the ugly competition:
for i=1,10 do
print(i)
if os.execute("/bin/sleep 7") ~= 0 then break end
end
(the if ... break is for catching ctr-c while waiting)
:)