[fpc-devel] Some thoughts on multi-line string support, and a possible syntax that I think is perfectly clean and Pascal-ish.

Ben Grasset operator97 at gmail.com
Wed Jul 3 21:58:17 CEST 2019


On Wed, Jul 3, 2019 at 2:43 PM Michael Van Canneyt <michael at freepascal.org>
wrote:

> But the main question is: do we actually want a multiline string ?
> As far as I am concerned, that question needs to be answered first, and for
> me personally the answer to that is still a resounding "no".
>

Why, though? What makes it so much different / worse than the presence of
multi-line comments?

On Wed, Jul 3, 2019 at 2:43 PM Michael Van Canneyt <michael at freepascal.org>
wrote:

> There is also still:
> https://bugs.freepascal.org/view.php?id=25536


Does that patch actually accept proper pre-formatted text? Or does it still
require everything to be written like

'String' +
'String +
'String' +
'String';

If the latter, than personally I don't see how it's a solution to the
overall problem in any way.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20190703/05ebf415/attachment.html>


More information about the fpc-devel mailing list