[fpc-pascal] Feature "Multiline strings" added

Sven Barth pascaldragon at googlemail.com
Mon Jul 28 19:17:01 CEST 2025


Travis Siegel via fpc-pascal <fpc-pascal at lists.freepascal.org> 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

>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20250728/15059b36/attachment.htm>


More information about the fpc-pascal mailing list