To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=82588 Issue #|82588 Summary|iif function seems to evaluate both possible return va |lues before deciding Component|scripting Version|OOo 2.3 Platform|All URL| OS/Version|All Status|NEW Status whiteboard| Keywords| Resolution| Issue type|DEFECT Priority|P3 Subcomponent|code Assigned to|kr Reported by|mchris
------- Additional comments from [EMAIL PROTECTED] Sat Oct 13 19:43:05 +0000 2007 ------- iif function seems to evaluate both possible return values before deciding what to return. For example the following code: x=10 y=0 print iif ( y<>0, x/y, "error") creates a "Division by Zero" runtime error instead of printing "error". --------------------------------------------------------------------- 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]