To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=54060 Issue #:|54060 Summary:|Basic On Error does not reset for second error |handler Component:|udk Version:|OOo 2.0 Beta Platform:|PC URL:| OS/Version:|All Status:|UNCONFIRMED Status whiteboard:| Keywords:| Resolution:| Issue type:|DEFECT Priority:|P3 Subcomponent:|code Assigned to:|kr Reported by:|user967
------- Additional comments from [EMAIL PROTECTED] Wed Aug 31 13:49:53 -0700 2005 ------- AFAIK this is a bug, as it differs from VB6 behavior and is not very functional. This is the scenario: error is trapped and sent to error handler, error handler creates new 'on error' handler, second error is not trapped as it should be. The following example should report "TEST" and "TEST2", but only reports TEST followed by an untrapped error. (I presume this is the case, but my version does not seem to report errors - it just stops and highlights the offending line - no pop-up telling me why.) FYI I am running this in an oocalc macro, version 2.0-pre (build 1.9.110 installed with SuSe 9.3 Pro). on error goto test x = 0 y = 1/x exit sub test: on error goto test2 msgbox "TEST: " + str(err) +" " + error y = 1/x exit sub test2: msgbox "TEST2: " +str(err) +" " + error exit sub --------------------------------------------------------------------- Please do not reply to this automatically generated notification from Issue Tracker. Please log onto the website and enter your comments. http://qa.openoffice.org/issue_handling/project_issues.html#notification --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]