[Lazarus] strcat problem

Koenraad Lelong lazarus2 at de-brouwerij.be
Fri Jun 24 20:37:52 CEST 2016


Op 24-06-16 om 10:22 schreef Yann Mérignac:
> var
>    S : String;
>    cTekst : PChar;
> begin
> S := #13'Now is the winter of our discontent'#13;
>     S := S + 'Made glorious summer by this sun of York;'#13;
>     cTekst := @S[1];
> end;
Hi,

This works, both on OpenSuse and Raspberry Pi.

Thanks, although I still don't grasp how PChar should be used.

Koenraad.




More information about the Lazarus mailing list