Re: Feature "Multiline strings" added

David Connolly via fpc-pascal <[email protected]>
Newsgroups gmane.comp.compilers.free-pascal.general
Message-ID <CAM_T2NSaRmEoyPaGbPaLDVvdDCci5FeZFqWKonEH4v467jCM1A@mail.gmail.com>
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, <
[email protected]> 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  -  [email protected]
> https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
>

_______________________________________________
fpc-pascal maillist  -  [email protected]
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.