[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
Thu Jul 4 00:08:11 CEST 2019


On Wed, Jul 3, 2019 at 5:48 PM Sven Barth via fpc-devel <
fpc-devel at lists.freepascal.org> wrote:

> I'm with Michael here: I see no *need* for a separate syntax for a multi
> line string.
>

 I don't really think the suggested backtick way is different enough from
anything that exists to be considered a "separate syntax", though. It's the
exact same thing, with a one-character difference at the opening and close
of the string.

If anything I see a use for both the IncludeString directive and multi-line
strings. IncludeString would be more suitable for scripts and such as
you've suggested, but I can think of a lot of places I'd have liked to have
multi-lines strings in the source for stuff like help / options / about
text in command-line apps.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20190703/699cb338/attachment.html>


More information about the fpc-devel mailing list