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

LeMoyne Castle <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
           Assignee|[email protected] |[email protected]
                   |desktop.org                 |
     Ever confirmed|0                           |1

--- Comment #1 from LeMoyne Castle <[email protected]> ---
Confirmed in 3.6.3 on Ubuntu 10.04...


' NOGO>>> Const NEWLINE As String = Chr(13)
Const NEWLINE As String = "  ouch  "

' NOGO>>> Public Const MESSAGE As String = "Foo " & Chr(10) & Chr(13) & " Bar"
' NOGO>>> Public Const MESSAGE As String = "Foo " & VbCrLf & " Bar"
' NOGO>>> Public Const MESSAGE As String = "Foo " & NEWLINE & " Bar"
Public Const MESSAGE As String = "Foo " & " Bar"

It seems that one can use the & to concatenate, but everything to the right of
= must be string literal.  I think this is working as designed.  However, it is
not an unreasonable enhancement to be able to use named constants as well.  

Want to check VBA action and VBA/LibO BASIC documentation.  Might be a dropout
in the VBA compatibility.

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