https://bugs.documentfoundation.org/show_bug.cgi?id=149151

            Bug ID: 149151
           Summary: Error in the Basic IIf function.
           Product: LibreOffice
           Version: 7.3.3.2 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: BASIC
          Assignee: [email protected]
          Reporter: [email protected]

1.Run the next Basic script.

Sub Test1
  Dim i As Long, arr
  arr=IIf(i=0, Array(), Array(0))
End Sub

An error occurs that must not occur.

2.Run the next Basic script.

Sub Test2
  Dim i As Long, arr
  arr=IIf(i=1, Array(), Array(0))
  Msgbox IsArray(arr)
End Sub

Returns False, must be True.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to