Re: String Length and Array Indexes in macros

2018-05-16 Thread Arnaud Versini
Hello everyone, Le 16/05/2018 à 10:42, Noel Grandin a écrit : > > > On 2018/05/16 10:23 AM, Michael Stahl wrote: >> there is a bytecode representation for StarBasic that is used if you >> store "encrypted" macros inside a document - i.e. the StarBasic >> source code is encrypted then, but an unenc

Re: String Length and Array Indexes in macros

2018-05-16 Thread Eike Rathke
Hi, On Wednesday, 2018-05-16 10:42:22 +0200, Noel Grandin wrote: > On 2018/05/16 10:23 AM, Michael Stahl wrote: > > there is a bytecode representation for StarBasic that is used if you > > store "encrypted" macros inside a document - i.e. the StarBasic source > > code is encrypted then, but an un

Re: String Length and Array Indexes in macros

2018-05-16 Thread Noel Grandin
On 2018/05/16 10:23 AM, Michael Stahl wrote: there is a bytecode representation for StarBasic that is used if you store "encrypted" macros inside a document - i.e. the StarBasic source code is encrypted then, but an unencrypted bytecode representation is stored as well that can be executed wit

Re: String Length and Array Indexes in macros

2018-05-16 Thread Michael Stahl
On 15/05/18 22:27, Eike Rathke wrote: BUT, probably for some (stream?) compatibility (or oversight?), for example the TypeLen() function still returns an int16 value because the result is stored as an int16 (while seeing that, I think it could be fixed). Also, for persistent storage UTF-16 may h

Re: String Length and Array Indexes in macros

2018-05-15 Thread Eike Rathke
Hi Andrew, On Tuesday, 2018-05-15 13:43:15 +, Andrew Pitonyak wrote: > Last time I documented Strings and arrays, an array index was limited to > +/-32K and a string was similarly limited. > > I am now documenting them again and I am hoping that someone knows off hand > what the new limitati