Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Try within Try?
Message
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01400148
Message ID:
01400160
Views:
66
You can nest these, but it can get a little tricky because you have to pass the exception object along the chain.

>Hi,
>
>I was under impression that TRY/CATCH/FINALLY cannot be used within another TRY/CATCH/FINALLY. But I created a test .PRG where I have one TRY within another TRY. When I compile this test.prg I get no errors. Was I mistaken that TRY cannot be used within TRY or that this issue would come to surface at run time only?
'If the people lead, the leaders will follow'
'War does not determine who is RIGHT, just who is LEFT'
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform