<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - Regression on Basic Iif() statement"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=136467">136467</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Regression on Basic Iif() statement
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>LibreOffice
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>6.4.2.2 release
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>UNCONFIRMED
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>BASIC
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>libreoffice-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>alain.romedenne@libreoffice.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>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</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>