General information
Category:
Coding, syntax & commands
Vlad,
I don't know what the true minimum is, but ...
wait window 'test' timeout .001
... is pretty fast.
Doug
>Hi!
>
>Minimum timeout for WAIT ... TIMEOUT command is 1 second. Better use Sleep API function that does the same:
>DECLARE INTEGER Sleep in Win32API integer nMilliseconds
>
>=Sleep(10) && wait 10 milliseconds
>
>
>
>>Set a WHILE loop
>>
>>DO WHILE [some logical construct]
>>
>> WAIT WINDOW [some message] TIMEOUT [time you need to take]
>>
>> code you need to run
>>
>> IF LASTKEY() = -9 (f10 to exit loop if needed)
>> [some logical construct if false]
>> ENDIF
>>ENDDO
>>
>>**************
>>The great thing about the Wait is it takes no processor power and no special libraries and it will not knock out your web server. Works for FPW and VFP.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only