Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Why TRY...CATCH…FINALLY not support RETRY ?
Message
From
11/08/2003 17:06:05
 
 
To
11/08/2003 12:28:45
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00818569
Message ID:
00819161
Views:
23
>Hi Bob,
>
>No this simulate the retry with a external cycle.
>
>I want retry on try error line directly.
>
>example:
>
>
>PROCEDURE A
>1 TRY
>2  B()
>3 CATCH
>4  * RESOLVE ERROR OPERATION 1
>5  RETRY && THIS RESTART CODE ON LINE 2
>6 ENDTRY
>
>
>7 PROCEDURE B
>8   ERROR OPERATION 1
>9   TRY
>10    ERROR OPERATION 2
>11  CATCH
>12    * RESOLVE OPERATION 2
>13    RETRY && THIS RESTART CODE ON LINE 8
>14  ENDTRY
>
So what if you had a line 2a that was C(). Now where does the RETRY restart at if TRY only knows about a block of code? Guess it could be done, but it might be a bit presumptuous on your part to say that it's an easy thing to implement.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform