To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=59791
------- Additional comments from [EMAIL PROTECTED] Wed Feb 1 09:24:05 -0800
2006 -------
"I doubt that you find such code even in 1 of 10.000 macros."
This sentence reminds me of Intel comment about the infamous Pentium bug.
Yes, my code is strange, but only because it is chosen as a simple and obvious
example. The general case is when you create constant texts which will be
displayed in
a TextField control.
Here is a code extracted from a macro. There are many constants like this:
Public Const txt0402 = "---- Browsing pages ---- \n\n" & _
"Displays a list of the pages to help you choose the
current
page. \n" & _
"Pages are listed : \n" & _
"- either according to the current page order \n" & _
"- or in alphabetical order \n" & _
" - distinguishing upper case from lower case \n" & _
" - without attention to upper case / lower case \n\n"
& _
"---- Action on pages ---- \n"
For your information, each \n is converted by program into chr(13) before
storing the
string in the TextField control. Now I get a syntax error and the macro can't
work. If
I suppress the concatenation and put the whole instruction in one line it
becomes
impossible to see the structure of the text.
---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]