lua-users home
lua-l archive

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


On Friday 18 February 2011 07:55:45 Gilles Ganault wrote:
> Hello,
> 
> 	Now that I could create the text file, I need to have the script
> pause for a few seconds before resuming.

Not necessarily the best solution, but it's possible for you to use C to 
create a Lua sleep() function. See this:

http://www.troubleshooters.com/codecorn/lua/lua_lua_calls_c.htm#_Make_an_msleep_Function

HTH

SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt