To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=47214 Issue #:|47214 Summary:|Len function deficiency Component:|framework Version:|680m91 Platform:|PC URL:| OS/Version:|Windows XP Status:|UNCONFIRMED Status whiteboard:| Keywords:| Resolution:| Issue type:|ENHANCEMENT Priority:|P3 Subcomponent:|scripting Assigned to:|npower Reported by:|mjneedles
------- Additional comments from [EMAIL PROTECTED] Mon Apr 11 20:53:02 -0700 2005 ------- It is noteworthy that the Len() function in OOo Basic does not mirror the functionality in any dialect of MS Basic. In VisualBasic, for example, the Len function returns the number of bytes of storage occupied by a variable of any type. Therefore, Len(lLong#) would return 4, Len(dDouble) would return 8 or 10, depending on the actual datatype used internally. OOo Basic returns always the length of the string representation of the given variable. This leads to a runtime error when using Len on a user-defined variable, for example, a structure created with the Type/End Type structure. I request that Len be made to work like Len does in VB. This would make it much easier for people to port macros from MSOffice, and for programmers used to using VB. --------------------------------------------------------------------- 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]