Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Did I translate this VB command into VFP correctly?
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00520767
Message ID:
00520768
Views:
20
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform