Hello,
How can I prevent that the next loop is using 100% processortime ?
This is the loop :
------------------------------
DO WHILE .T.
IF VActive
SYSREFRESH()
LOOP
ENDIF
EXIT
ENDDO
------------------------------
Thanks a lot in advance.
Michel D.
M&A Consult bvba
Genk (Belgium)
FW using processortime
FW using processortime
Regards,
Michel D.
Genk (Belgium)
_____________________________________________________________________________________________
I use : FiveWin for (x)Harbour v. 21.01 - Harbour 3.2.0 (October 2020) - xHarbour Builder (January 2020) - Bcc7
Michel D.
Genk (Belgium)
_____________________________________________________________________________________________
I use : FiveWin for (x)Harbour v. 21.01 - Harbour 3.2.0 (October 2020) - xHarbour Builder (January 2020) - Bcc7
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Antonio,
Otto,
Thanks a lot for you answers.
Antonio, sleep() is an unknown function in FW for Clipper.
Otto, I never thought of a timer. I'll try it out.
Thank you.
Michel
Otto,
Thanks a lot for you answers.
Antonio, sleep() is an unknown function in FW for Clipper.
Otto, I never thought of a timer. I'll try it out.
Thank you.
Michel
Regards,
Michel D.
Genk (Belgium)
_____________________________________________________________________________________________
I use : FiveWin for (x)Harbour v. 21.01 - Harbour 3.2.0 (October 2020) - xHarbour Builder (January 2020) - Bcc7
Michel D.
Genk (Belgium)
_____________________________________________________________________________________________
I use : FiveWin for (x)Harbour v. 21.01 - Harbour 3.2.0 (October 2020) - xHarbour Builder (January 2020) - Bcc7
- Enrico Maria Giordano
- Posts: 7355
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Contact:
This is a working sample of Sleep() definition:
EMG
Code: Select all
#include "Fivewin.ch"
FUNCTION MAIN()
SLEEP( 2000 )
RETURN NIL
DLL32 FUNCTION SLEEP( nMilliseconds AS DWORD ) AS VOID;
PASCAL FROM "Sleep" LIB "kernel32.dll"
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact: