Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
RETRY in TRY-CATCH
Message
From
25/02/2008 01:09:31
Walter Meester
HoogkarspelNetherlands
 
 
To
22/02/2008 16:59:46
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
Miscellaneous
Thread ID:
01295546
Message ID:
01295985
Views:
17
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform