Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Do while and processor
Message
De
30/03/2005 17:17:20
 
 
À
30/03/2005 17:06:46
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01000110
Message ID:
01000121
Vues:
23
>>Is it possible doing do while not to consume 100% of the processor?
>
>You can do one of several things to induce a "wait state".
>
>1) DECLARE Sleep IN WIN32API INTEGER nMilliSeconds
>
>Put Sleep(xx) inside the DO WHILE.
>
>2) INKEY(xx) inside the DO WHILE.
>
>3) DOEVENTS inside the DO WHILE.

I've got the idea, thanks.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform