To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=63614
------- Additional comments from [EMAIL PROTECTED] Mon Nov 3 07:15:36 +0000 2008 ------- Here is ms7777's shorter test case stripped down to extremes, still producing the same error message after running, editing and running it again (sorry, I did not work through pitonyak's long test case). Sub Test11 IIf(true, 0.0, "") IIf(true, 0, "") End Sub Remarks to stripping down: 1) It is not necessary to change the name of the sub, inserting a line break will do just as well. 2) The first argument of the IIf (ie the condition) does not have to be a variable to reproduce the error. 3) IIf works without using its return value. 4) If the first argument evaluates to true, the third argument does not seem to interfere with the error, only the second argument counts. 5) The exact type of the arguments does not matter, the only thing required is that the second arguments differ in type. 6) Run ms7777's code once, edit it, then run it again and again, the error will occure at different rows! I found that in order to reproduce this oscillation effect, at least 4 IIfs are needed: Sub Test11 IIF(true, 0, "") IIF(true, 0.0, "") IIF(true, 0.0, "") IIF(true, 0, "") End Sub I can organize and send further interesting test cases I have found if it helps solving this issue. --------------------------------------------------------------------- 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]