>I should probably ask the obvious question. If you were writing an error handler and therefore have ON ERROR blah...blah, if it is a fatal error and you do not want to return to the line below where the error occurred, where and how would you return to someplace else?
I am not so sure about error handling - in my case, the framework takes care of it.
In Visual FoxPro 8 (?) and later, you can use TRY ... CATCH, for a more modern error handling. But I think this is used for anticipating errors in specific places in your code; I am not sure how this would be applied for generic error handling, which I am sure you are talking about.
Perhaps a RETURN TO..., or RETURN TO MASTER, is indeed the best solution in this case - I am not sure.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)