[fpc-pascal] Weird string behavior

Jonas Maebe jonas.maebe at elis.ugent.be
Tue Jul 26 12:03:21 CEST 2016

Mattias Gaertner wrote on Tue, 26 Jul 2016:

> It seems the Delphi rules for non rawbytestrings are:
> - Concatenate two same declared strings: append bytes, copy dyn. cp
>   from left operand. Declared cp of result is left operand.

Are you sure it's "append bytes" here and not "append bytes if same  
dyn cp, otherwise convert to unicodestring, concatenate, and convert  
back to dyn cp of left operand"?


More information about the fpc-pascal mailing list