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@lists.freedesktop.org
Reporter: alain.romede...@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.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs