Ciao Fabio,
OK, assuming that the finally doesn't allow the error to surface, I still don't understand why this piece of code enters an infinite loop.
When you run it in the debugger (again, don't try from the IDE), execution will go back to the beginning after catching the error.
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
Low-carb diet not working? Try the Low-food diet instead!