Issue 47214

Summary: Len function deficiency
Product: General Reporter: mjneedles <matt>
Component: scriptingAssignee: AOO issues mailing list <issues>
Status: ACCEPTED --- QA Contact:
Severity: Trivial    
Priority: P3 CC: issues
Version: 680m91   
Target Milestone: AOO Later   
Hardware: PC   
OS: Windows XP   
Issue Type: ENHANCEMENT Latest Confirmation in: ---
Developer Difficulty: ---

Description mjneedles 2005-04-12 04:53:02 UTC
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.
Comment 1 mjneedles 2005-08-01 03:53:06 UTC
Has anyone looked at this one?
Comment 2 noel.power 2005-09-02 08:49:26 UTC
reassign to ab
Comment 3 ab 2005-09-02 13:54:37 UTC
Started
Comment 4 Marcus 2017-05-20 11:31:01 UTC
Reset assigne to the default "issues@openoffice.apache.org".