>
>>I'm not aware of any slowdown caused by TRY...ENDTRY that would warrant not to use it when necessary.
>>>
>>
>>Good to know. Maybe I have read about slow TRY/CATCH on the .NET forum. Thank you for your input.>
>Yeah, you probably heard it from me on the .NET forum, but I should clarify that perception: there is no performance hit at all, unless there's an error that's caught. My point about where to use try/catch is that it shouldn't be used to catch errors that you can test for some other way. Testing for a potential error beats allowing a try to catch the error, performance-wise ... unless it's something that is unlikely to occur.
>
>At least that's the case in .NET ... I can't remember if it's the same in VFP, but I suspect that it is.
>
>~~Bonnie
Thank you for clarifying and for you input.
"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