Travis Siegel via fpc-pascal <fpc-pascal@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

>
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to