Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
When is traditional, traditional?
Message
 
To
03/03/2004 11:45:18
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00881665
Message ID:
00882790
Views:
17
>>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.
>
>Try/Catch in a loop would be alot more elegant than using Retry and On Error.

It's a question of how you look at it. :) To me, since the global ON ERROR handler already existed, simple RETRY looked more elegant then extra bulky construction of a loop with TRY/CATCH.
And it does the job. :)
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Previous
Reply
Map
View

Click here to load this message in the networking platform