[Libreoffice-bugs] [Bug 136467] New: Regression on Basic Iif() statement
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Fri Sep 4 11:42:32 UTC 2020
https://bugs.documentfoundation.org/show_bug.cgi?id=136467
Bug ID: 136467
Summary: Regression on Basic Iif() statement
Product: LibreOffice
Version: 6.4.2.2 release
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: BASIC
Assignee: libreoffice-bugs at lists.freedesktop.org
Reporter: alain.romedenne at libreoffice.org
Description:
Iif(condition, expression1, expression2) evaluates BOTH expressions before
execution. Exceptions can be raised unconditionnally.
e.g.
Sub _inverse_
Print Iif(x=0,0,1/x)
End Sub
Steps to Reproduce:
1. Copy _inverse_ example routine
2. Run it
3. Observe the result
Actual Results:
"Division by zero" error is thrown
Expected Results:
Warning "0" should appear
Reproducible: Always
User Profile Reset: No
Additional Info:
Expected behaviour is obtained with libO 6.1.2
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20200904/40ba897c/attachment.htm>
More information about the Libreoffice-bugs
mailing list