>I just found an interesting phenomenon in a try..catch block.
>
>Copy the following code verbatim to a prg and run it in the debugger (don't run it from the ide or vfp will go into an infinite loop and you'll have to ctrl-alt-delete it):
Try
> * I know you don't have the csase table. That's to ensure
> * the error happens.
> USE csase Exclusive
>catch to loException
> MessageBox( loException.message + Chr(13) + Chr(10) ;
> + loException.LineContents)
>Finally
> Close Tables all
>entry
>The problem stems from the mis-spelling of endtry (I ommited the "D").
>
>Any ideas?
>
>Alex
The cause is FINALLY, it hides the endtry error.
Without FINALLY,
when VFP execute TRY, it check for the ENDTRY;
with FINALLY this don't happen.
Fabio