[Lazarus] String vs WideString

Michael Schnell mschnell at lumino.de
Wed Aug 16 11:26:46 CEST 2017


On 15.08.2017 18:33, Mattias Gaertner via Lazarus wrote:
> Do you propose a string without the array operator [] ? 
I don't understand what you mean by this.

Of course an appropriate "char" type for each string encoding brand 
could to be provided, hence a "CP_QWord Char" as an alias or a QWord.

(Please keep in mind that in that paper (as explicitly pointed out) 
"String" is not a synonym for "printable text" but for "sequence of 
similar things". And  here of course (at least in a 64 bit system) it's 
extremely appropriate to allow for 64 bit elements. And of course this 
is just a suggestion that could solve a certain class of problems but 
needs a big effort to do and verify the modifications in the compiler 
and the libraries.)

-Michael


More information about the Lazarus mailing list