To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=59791 Issue #:|59791 Summary:|Regression in Basic : constants constructs are |limited to 79 character length Component:|framework Version:|OOo 2.0.1 Platform:|All URL:| OS/Version:|Windows XP Status:|UNCONFIRMED Status whiteboard:| Keywords:| Resolution:| Issue type:|DEFECT Priority:|P3 Subcomponent:|scripting Assigned to:|npower Reported by:|bmarcelly
------- Additional comments from [EMAIL PROTECTED] Mon Dec 26 00:56:34 -0800 2005 ------- Found on build 8990 It could be a consequence of fixing IZ 45570 This code produces a compilation syntax error (main instruction in one long line): Sub Main const a = "12345678901234567890123456789012345678901234567890123456789012345678901234567890" & "" print a End Sub If you suppress one character in the main string the syntax error disappears. If you construct the string with concatenation of substrings on several lines you get a syntax error for more than 79 characters in total. The bug is related with the concatenation character & or + There is no error if the long string is created in one step, without concatenation. This bug is catastrophic because already existing and perfectly working macros may not be usable with 2.0.1. The designer of new macros can stumble on not-understandable messages, because there is no fault. Furthermore you have to make deep changes in your macros to circumvent this bug. --------------------------------------------------------------------- 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]
