Re: Feature "Multiline strings" added

Sven Barth via fpc-pascal <[email protected]>
Newsgroups gmane.comp.compilers.free-pascal.general
Message-ID <CAFMUeB-JEH5PmV+Tbso+d1BQzpC2V11=U1z-pw9=q5zE1P1MXw@mail.gmail.com>
Travis Siegel via fpc-pascal <[email protected]> schrieb am
Mo., 28. Juli 2025, 15:42:

>
> Take for instance, comments.
>
> { this is a comment}
>
> works just as well as
>
> (* this is a comment *)
>
> I don't believe I've ever seen you complain about multiple ways to put
> comments in the code
>

That is a bad example, because the second syntax is a digraph of the first,
just like you can use "(." for "[" and ".)" for "]". In the ISO modes you
can even close a "{" comment with "*)" and vice versa, because they are
aliases.

Regards,
Sven

>

_______________________________________________
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.