[Lazarus] String vs WideString

Michael Van Canneyt michael at freepascal.org
Tue Aug 15 14:53:38 CEST 2017



On Tue, 15 Aug 2017, Mattias Gaertner via Lazarus wrote:

> On Tue, 15 Aug 2017 14:26:34 +0200
> Michael Schnell via Lazarus <lazarus at lists.lazarus-ide.org> wrote:
>
>> On 15.08.2017 11:15, Tony Whyman via Lazarus wrote:
>> > Why shouldn't there be a single char type that intuitively represents 
>> > a single character regardless of how many bytes are used to represent it. 
>> 
>> I suppose by "char" you mean "single printable thingy" with Unicode it's 
>> rather debatable what such a thingy is.
>> 
>> Hence a Unicode singe char would need to be just be a Unicode string.
>
> Do you mean a 'char' is a string in your proposal?

That would be a neat recursive definition :)

Michael.


More information about the Lazarus mailing list