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

            Bug ID: 153142
           Summary: IsMissing needs a note about use in conditions (no
                    boolean short-circuit evaluation in Basic)
           Product: LibreOffice
           Version: unspecified
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Documentation
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]

There is a recurring programming error in Basic, when IsMissing is combined by
a logical operator with a use of potentially absent variable, as in

> If Not IsAbsent(foo) And foo > bar Then ...

See e.g. code shown on the screenshot at
https://ask.libreoffice.org/t/messagebox-weird-response/86789

We need a comment on IsMissing help page, discussing that this must be

> If Not IsAbsent(foo) Then If foo > bar Then ...

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

Reply via email to