[fpc-pascal] Feature "Multiline strings" added

David Connolly menounsef at gmail.com
Sun Jul 27 21:24:47 CEST 2025


Personally, I prefer the back tick, but they're both excellent additions to
the language.

On Sun 27 Jul 2025, 20:15 Thomas Kurz via fpc-pascal, <
fpc-pascal at lists.freepascal.org> wrote:

> > Deprecate in FPC and Pas2js the "backtick version". That is, let the
> > compilers just generate a message like "Multi-line strings using
> > backticks are deprecated and will be removed in some future release.
> > We encourage to use instead syntax with 3 apostrophes, docs on XXX"
> > when it encounters such syntax.
> > And then it is clear to users what to use in new code. And they can
> > easily upgrade their code, just follow compiler messages.
> > And then in 2+ years maybe we can remove the old backtick version.
> > And everything is simpler :)
>
> +1 for this approach. I also think that only one way to do it may be the
> best. If pas2js was first, it'd be best to change Delphi, but it's pretty
> unrealistic. So migrating pas2js to the Delphi way seems to be the cleanest
> thing.
>
>  Regards,
>  Thomas
>
> _______________________________________________
> fpc-pascal maillist  -  fpc-pascal at lists.freepascal.org
> https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20250727/c934ccc6/attachment.htm>


More information about the fpc-pascal mailing list