Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
When is traditional, traditional?
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00881665
Message ID:
00882758
Views:
19
>
>I just used RETRY recently in VFP 8 app. :) There I need to make a certain number of retries to open the file that can be under another process at the moment, and cannot yet be opened. I used a combination of ON ERROR and TRY/CATCH.

Ahhhh! TRY/CATCH could also work in those instances where a "RUN /N" command is used to manipulate a file. With "/N", the next line of code (that depends on the results of "RUN") is executed before the "RUN" is complete. In those cases a "FILE DOES NOT EXIST" error will occur - I guess a TRY/CATCH/RETRY would be appropriate there!:)
Imagination is more important than knowledge
Previous
Reply
Map
View

Click here to load this message in the networking platform