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

          Priority: medium
            Bug ID: 57723
          Assignee: [email protected]
           Summary: Can't use VBA-compatible constant in Const variable
          Severity: major
    Classification: Unclassified
                OS: All
          Reporter: [email protected]
          Hardware: All
            Status: UNCONFIRMED
           Version: 3.5.4 release
         Component: BASIC
           Product: LibreOffice

The follwoing is the example:

Option VBASupport 1
Option Explicit

Public Const MESSAGE As String "Foo" & vbNewLine & "Bar"

The code treated as a syntax error.

To replace chr(13) instead of vbNewLine also cases error.

Can I use CR/CRLF code with constant string?

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