Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Did I translate this VB command into VFP correctly?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00520767
Message ID:
00520768
Vues:
21
>VB commands -
>
>FaxmanJr1.SendFax
> Do While FaxmanJr1.Status <> DEV_READY
> Do Events
> Loop
>
>VFP commands -
>
>THISFORM.FaxmanJr1.SendFax
> DO WHILE THISFORM.FaxmanJr1.Status <> DEV_READY
> DOEVENTS && I don't think this is right????
> LOOP
> ENDDO
>
>Did I tranlate the VB into VFP properly? I wonder because the code does not seem to be working. I seem to be in a tight loop with no way out and no other processing is being done while I am looping as I had hoped. Thanks for the help!

Steve,

Yes, but the LOOP statement in the VFP isn't necessary. In VB it is equalivelant to the ENDDO in the case.
George

Ubi caritas et amor, deus ibi est
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform