[Lazarus] String vs WideString

Luca Olivetti luca at wetron.es
Tue Aug 15 22:09:43 CEST 2017


El 15/08/17 a les 21:38, Ondrej Pokorny via Lazarus ha escrit:
> On 15.08.2017 21:34, Mattias Gaertner via Lazarus wrote:
>> On Tue, 15 Aug 2017 21:22:10 +0200
>> Luca Olivetti via Lazarus <lazarus at lists.lazarus-ide.org> wrote:
>>
>>> [...]
>>> *If* code that worked before (and dare I say without abusing the
>>> language) suddenly breaks, the bug is in the compiler and not in the
>>> library.
>> ... unless of course the incompatibility is deliberate and documented.
>> In this case it is.
> 
> Furthermore, if you use(d) strings for binary data, just replace old 
> string for AnsiString/RawByteString (and Char for AnsiChar, PChar for 
> PAnsiChar) and you are good to go. Annoying but no big deal.

If that's all it's OK then, thank you.

Bye
-- 
Luca Olivetti
Wetron Automation Technology http://www.wetron.es/
Tel. +34 93 5883004 (Ext.3010)  Fax +34 93 5883007


More information about the Lazarus mailing list