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

          Priority: medium
            Bug ID: 80731
          Assignee: [email protected]
           Summary: Incorrect syntax does compile
          Severity: minor
    Classification: Unclassified
                OS: Linux (All)
          Reporter: [email protected]
          Hardware: x86 (IA32)
            Status: UNCONFIRMED
           Version: 4.2.4.2 release
         Component: BASIC
           Product: LibreOffice

Run this code 

Sub AcceptableSyntax
Dim alpha as String
alpha = "abcdefghijklmn"
'Compiles, but doesn't work
Mid(alpha,3,3 = ""
MsgBox alpha, 0, "Compiles, but doesn't work"
'Works
Mid(alpha,3,3) = ""
MsgBox alpha, 0, "Works"
End Sub

Line 5 should not compile and should instead throw a syntax error.

-- 
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