Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Waiting around....
Message
 
 
To
06/08/2003 02:21:52
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00817017
Message ID:
00817436
Views:
11
><snip>
>>>If the user is resting on the keyboard then:
>>>
>>>
>>>tStrTime = DATETIME()
>>>DO WHILE DATETIME() <= tStrTime + 3
>>>  =INKEY(1)
>>>ENDDO
>>>
>>>
>>>...<g>. I can see the argument already :)
>>
>>Thanks! I am staying clear of this!!!
>>
>
>Hi Tommy, the code is fine and will work. The main difference beween this and other solutions given is that this will force a user to wait the set period whereas the other options allow the user to bypass the wait period by pressing any key.

> The comment to Houston is just a joke :)

That's what I figured; in the meantime I've been trying to come up with either a witty one liner or some obtuse method for creating a delay. Something like; reduce the voltage of the power supply in the hope that it will slow the system clock (I know that this is not how the crystal driving the clock works). Alas, I am under too much pressure at the moment to be inspired. The house-purchase-from-hell / house move / remodel are just about coming to an end.
censored.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform