Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Waiting around....
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00817017
Message ID:
00817709
Vues:
12
>Polling is bad... try this one without letting your processor burn.
>
>DECLARE Sleep IN Win32API INTEGER nMilliseconds
>Sleep(10000) &&10 seconds

Hi Marvin. I am familiar with the Sleep API - it is also extensively refered to in this thread. I agree that "polling is bad" but its not my code :) The loop code was from Dennis Lindeman's post. Personally I would simply insert a INKEY(1) in the loop which is even easier than Sleep().
In the End, we will remember not the words of our enemies, but the silence of our friends - Martin Luther King, Jr.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform