>>Hi,
>>
>>I am thinking of enclosing a call to a function with TRY / CATCH. But this function calls many other function and other classed. Those called functions and classes may have their own TRY / CATCH. Will the new TRY / CATCH (around the large block of calls) fails because of the "internal" TRY / CATCH?
>>
>>TIA
>
>You can nest Try/catch, although I haven't done it myself. Here's some articles on the subject. Scroll down to the sections about nesting.
>
https://www.codemag.com/article/0301072/Structured-Error-Handling-in-VFP-8>
https://fox.wikis.com/wc.dll?Wiki~TryCatch>
https://www.hectorcorrea.com/downloads/correatrycatchwhitepaper.pdfYes, as you were posting, I tried to update my message. I created a test.prg with a TRY and then another TRY within the 1st one, and then another TRY withing the 2nd one. And no problem.
Thank you.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham