Issue 47214 - Len function deficiency
Summary: Len function deficiency
Status: ACCEPTED
Alias: None
Product: General
Classification: Code
Component: scripting (show other issues)
Version: 680m91
Hardware: PC Windows XP
: P3 Trivial with 1 vote (vote)
Target Milestone: AOO Later
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-12 04:53 UTC by mjneedles
Modified: 2017-05-20 11:31 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
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".