[fpc-devel] new string - question on usage

Sven Barth pascaldragon at googlemail.com
Thu Oct 13 10:47:30 CEST 2011


Am 13.10.2011 10:34, schrieb Alex Shishkin:
> 13.10.2011 11:30, Sven Barth пишет:
>> Am 13.10.2011 04:30, schrieb Hans-Peter Diettrich:
>>> Martin Schreiber schrieb:
>>>
>>>>> Well, with Delphi 2009's Unicode support, the Delphi language now
>>>>> supports Unicode too. Thus unit names, class names, property names,
>>>>> variable names etc can all contain Unicode text in there names. So
>>>>> yes,
>>>>> Unicode is required throughout the Object Pascal language, and FPC
>>>>> Compiler.
>>>>
>>>> Is this desirable? What is the benefit of non ASCII Pascal identifiers
>>>> at the expense of performance and simplicity?
>>>
>>> Perhaps it's an attempt to better interface with .NET, Java or
>>> ObjectiveC?
>>
>> I don't think so as AFAIK all three don't support unicode characters in
>> identifiers.
>>
>> Regards,
>> Sven
>>
>> _______________________________________________
>> fpc-devel maillist - fpc-devel at lists.freepascal.org
>> http://lists.freepascal.org/mailman/listinfo/fpc-devel
>>
>>
> According to ECMA-335 "Common Language Infrastructure (CLI), 5th edition
> chapter 8.5.1" .NET allow unicode in identifiers.

So much for my "AFAIK"... ^^ Thanks for clarification.

Regards,
Sven





More information about the fpc-devel mailing list