[Lazarus] strcat problem
David W Noon
david.w.noon at googlemail.com
Sat Jun 25 17:55:07 CEST 2016
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Sat, 25 Jun 2016 13:39:34 +0100, Howard Page-clark
(hdpc at talktalk.net) wrote about "Re: [Lazarus] strcat problem" (in
<51103c67-4a72-b44e-3fce-d577e1ce8f98 at talktalk.net>):
[snip]
> No, you need concatenation operators inserted:
>
> const TEXT : ansistring = #10'Now is the winter of our
> discontent'#10 +'Made glorious summer by this sun of York;'#10
> +'And all the clouds that lour''d upon our house'#10 +'In the deep
> bosom of the ocean buried.'#10
Yes, that's the ticket!
I thought those #dd characters implicitly concatenated to any adjacent
string, but it seems that spaces and/or line breaks can prevent that.
- --
Regards,
Dave [RLU #314465]
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
david.w.noon at googlemail.com (David W Noon)
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iEYEARECAAYFAlduqVsACgkQogYgcI4W/5T1pQCeMasyRRriUkODdxVtCm2fm5Gq
/5AAoNVcO3W6wHuRfcwpEVPVSxjTb+x7
=F0xp
-----END PGP SIGNATURE-----
More information about the Lazarus
mailing list