Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
FOR NEXT and Event()
Message
De
06/03/1997 01:16:07
 
 
À
06/03/1997 00:52:48
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00023029
Message ID:
00023093
Vues:
34
>>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform