Information générale
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Network:
Windows 2003 Server
Hi Hugo,
Oops: yes, remove the "M" so a mouseclick won't terminate it.
So, yes, a keystroke will end it; but that's not an issue in a service, where this would be used. Neither is a keystroke.
Hank
>>>Workable, but why ? Wait Window Timeout xxx should be enough and minimize CPU the same way...
>>
>>As will INKEY(1,"HM")
>
>Both wait window and inkey suffer from the same issue: user's input: A key/mouse event will terminate both "timers" and the code will run before the one second elapses (in this particular case), so I am with Al in this, I rather use Sleep to get more consistent values
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement