Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Try...catch...finally
Message
From
27/10/2002 14:28:21
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
27/10/2002 11:33:24
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00715709
Message ID:
00715891
Views:
18
>Hi, Hilmer-
>
>>... And code outside the TRY construct is not always executed. Although I still don't completely understand the reason.
>
>It is not executed only when there is an error in the try block. It's not executed just means the method doesn't continue executing after the error (except, of course, for the finally).
>
>The reason? I guess that "catch" implies to FoxPro developers that we have a chance to catch and deal with the error and then continue on if we can fix it. Is that part of the problem, do you think?
>
>Writing that I realize that was my interpretation, too, when I first saw a Try/Catch.

Yes, I guess I will have to investigate when I get hold of VFP 8 myself. For the moment, I am still with VFP 6 :(

Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform