[Lazarus] dynamic string proposal

Martin Frb lazarus at mfriebe.de
Wed Aug 16 16:39:21 CEST 2017


On 16/08/2017 13:48, Michael Schnell wrote:
> On 16.08.2017 14:30, Martin Frb via Lazarus wrote:
>>
>> And that would still not be "char", but "codepoint"
>>
>> A char can be composed of several combining code points (each of them 
>> afaik, in the 32 bit range).
>> So a char can have 96 or more bits. (And not all of them have a 
>> combined form).
> Unfortunately in Delphi and FPC the appropriate work-alike existing 
> type is called Char (with certain extensions). It would cause major 
> problems to drop that name for something else, even if that would be 
> appropriate.

I agree. "char" actually is a "code unit".

But renaming it, would probably be as good as killing the language.

and anyone can do
type codeunit=char;

and use this.


More information about the Lazarus mailing list