Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
RETRY in TRY-CATCH
Message
De
25/02/2008 01:09:31
Walter Meester
HoogkarspelPays-Bas
 
 
À
22/02/2008 16:59:46
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
Divers
Thread ID:
01295546
Message ID:
01295985
Vues:
18
how about
TRY
   some code

   TRY
      lcFile = MyGetFileRoutine()
      USE (lcFile)

   CATCH WHEN "can't open file"
      lcFile = MyGetAlternateFileRoutine()

   CATCH TO oErr
      THROW oErr

   ENDTRY

   more code

CATCH
   do the normal CATCH programming

ENDTRY
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform