Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MOD is not correct
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows 7
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01622479
Message ID:
01622549
Views:
112
>>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
"The five senses obstruct or deform the apprehension of reality."
Jorge L. Borges?

"Premature optimization is the root of all evil in programming."
Donald Knuth, repeating C. A. R. Hoare

"To die for a religion is easier than to live it absolutely"
Jorge L. Borges
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform