https://bugs.freedesktop.org/show_bug.cgi?id=65758

          Priority: medium
            Bug ID: 65758
          Assignee: [email protected]
           Summary: Problem with error function in a "if" statement
          Severity: normal
    Classification: Unclassified
                OS: Linux (All)
          Reporter: [email protected]
          Hardware: x86-64 (AMD64)
            Status: UNCONFIRMED
           Version: 3.5.7.2 release
         Component: BASIC
           Product: LibreOffice

When the "error" function is in a "if" statement, it is never triggered.

Example :

In this case, the routine launchs an error :
Sub Main
Dim isErreur as Boolean
isErreur = 1
MsgBox "Essai lancement erreur."
error(9)
MsgBox "Lancement loupé."
End Sub

In this case, it doesn't :
Sub Main
Dim isErreur as Boolean
isErreur = 1
if isErreur then
    MsgBox "Essai lancement erreur."
    error(9)
    MsgBox "Lancement loupé."
end if
End Sub

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to