Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
FOR NEXT and Event()
Message
From
06/03/1997 18:40:50
 
 
To
06/03/1997 00:52:48
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00023029
Message ID:
00023219
Views:
33
>FOR lnCompteur=1 TO 100
> Send('Something')
> llReady=.F.
> * We assume the Receive() event will make llReady=.T.
> DO WHILE llReady
> DOEVENTS
> ENDDO
>NEXT

Now seriously: :)

Try this:

FOR lnCompteur=1 TO 100
Send('Something')
Timer.Enabled=.t.
llReady=.F.
* We assume the Receive() event will make llReady=.T.
DO WHILE NOT llReady
DOEVENTS
ENDDO
NEXT

and disable the timer as first action in Timer event of your timer.

This one SHOULD work. Unless is not working... :)

Vlad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform