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

Michael Van Canneyt michael at freepascal.org
Wed Jul 3 15:34:44 CEST 2019



On Wed, 3 Jul 2019, Ben Grasset wrote:

> This has been discussed I think several times in the past, but I thought
> I'd bring it up once more as it has never made sense to me that FPC happily
> supports multi-line *comments* of any length, while having no such
> multi-line equivalent for string literals.
>
> I was fiddling around with what the clearest, easiest-to-parse, and most
> similar-to-existing-syntaxes way of doing it would be, and came up with
> this:

If multiline string support ever makes it into FPC, I hope it will be
simpler, with a backtick character: `

Michael.


More information about the fpc-devel mailing list