Re: [DOS] How to code for a time delay?
- Posted by Bernie Ryan <xotron at bluefrog.com> May 27, 2007
- 639 views
Alex: Whoops ! hit the enter too fast .
while 1 do sleep(1) -- sleep 1 second if get_key() = 113 then -- "q" to quit. use key.bat to find out the code for the key. exit else puts(1,".") end if end while
Bernie Bernie My files in archive: WMOTOR, XMOTOR, W32ENGIN, MIXEDLIB, EU_ENGIN, WIN32ERU, WIN32API Can be downloaded here: http://www.rapideuphoria.com/cgi-bin/asearch.exu?dos=on&win=on&lnx=on&gen=on&keywords=bernie+ryan