Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
When is traditional, traditional?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00881665
Message ID:
00882758
Vues:
20
>
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform