You can't find the line directly but if you can put more than one ErrorLevel statement in your Sub vectoring to different labels to more precisely locate where the error occurred. Using B4PObject(6) and the Door library or my
http://www.basic4ppc.com/forum/addit...html#post12486 you can find out more details of the error. The help for the Exceptions library has a topic on error handling in Basic4pppc.
The default exception handling in an optimised compiled program does not show the error line. For debugging my
http://www.basic4ppc.com/forum/addit...html#post27120 includes a DebugRecompiler which can give the error line but you wouldn't use if for the final application because of the performance hit.
You can't resume after an Exception.