Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Why TRY...CATCH…FINALLY not support RETRY ?
Message
From
12/08/2003 06:40:11
 
 
To
11/08/2003 17:30:34
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00818569
Message ID:
00819290
Views:
11
Hi Bob,

>The difference is my code gives you what you WANT now. If you know the possible error is resolvable, when not check for that BEFORE trying your try.

1) For optimization.

If i have one error it happens 5% of times, i can test it before.
But if the error it happens only one time on a routine
called 10000000 times, and test it before it demands a meaningful time,
i can use error handling for resolve and restart the program
( classic is CDX corruption ).

2) One error is:
- resolvable ( see 1) )
- not resolvable but previewed
( kill any module where this error can to interfere )
- not resolvable and not previewed ( kill the application )

3) RETRY exist on VFP old Error handling, and i use it.

Fabio
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform