Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
FOR NEXT and Event()
Message
From
06/03/1997 01:16:07
 
 
To
06/03/1997 00:52:48
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00023029
Message ID:
00023093
Views:
38
>>try adding a DO EVENTS to the loop
>
>I tried putting the DOEVENTS. Now, during the DO WHILE, I am able to have access to my application but the Event() still does not fire. Here's what I have now.
>
>FOR lnCompteur=1 TO 100
> Send('Something')
> llReady=.F.
> * We assume the Receive() event will make llReady=.T.
> DO WHILE llReady
> DOEVENTS
> ENDDO
>NEXT

I think it must be:

DO WHILE NOT llReady

Try also to use lnCounter instead of lnCompteur... since you're using VFP, English version. :)

Vlad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform