STRING * n support in StarBasic

Stephan Bergmann sbergman at
Thu Oct 25 06:05:41 PDT 2012

On 10/25/2012 02:47 PM, Norbert Thiebaud wrote:
> On Thu, Oct 25, 2012 at 10:56 AM, Michael Stahl <mstahl at> wrote:
>> if we simply replace the existing String uses with OUString we don't
>> have to worry about that any more :)
> Well, you do need to worry, if you want to enforce the language spec
> (although these are pretty weak and fuzzy)
> Right know we seems to care about padding of fixed-length String on
> Init only (Dim)... I have not stumbled upon code that cares about that
> on assign and other manipulations...
> iow
> Dim foo as STRING*10 = ""
> dim bar as STRING "hello"
> foo = bar
> what should be foo? "hello" or "hello     "

I still fail to see how these details of BASIC's STRING*n are related to 
the different max length limits of String vs. OUString.


More information about the LibreOffice mailing list