FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Delay in loop without syswait or inkey
Posts: 566
Joined: Thu Aug 30, 2007 03:40 PM
Delay in loop without syswait or inkey
Posted: Sat Sep 29, 2012 12:45 PM

Hi

I need to do a 15 second delay in a loop FOR /NEXT, is there another way to do this without using inkey or syswait? It seems that these functions consumes too much cpu. harbour have a similar ASM NOP operator? :?

thanks

Posts: 1088
Joined: Fri Oct 07, 2005 03:33 PM
Re: Delay in loop without syswait or inkey
Posted: Sat Sep 29, 2012 01:00 PM

HI,

try with timer

regards

Marcelo

Posts: 9022
Joined: Thu Oct 06, 2005 08:17 PM
Re: Delay in loop without syswait or inkey
Posted: Sat Sep 29, 2012 03:00 PM

Did you already try Sleep()?

EMG

Continue the discussion