Clear the globally SHARED variable appLastErr%, then switch the error handling to the Internal error handler. This handler will just store the error number into appLastErr% and then RESUME to the instruction following the one which caused the error. This behavior may be used to simply ignore any error or to check what error happened and accordingly control the further program flow.
SYNTAX:
InternalErrHandler
NOTES:
- Please use the Internal error handler for short term only, at best just for the instruction or function call which its errors shall be ignored or checked, then immediately switch back to the User error handler. Use this method even if it seems to be a waste of runtime (eg. if it would cause lots of handler switches within a closed loop). The general rule is to have the User handler active for most of the runtime to provide error informations to the user, if something goes wrong.