[fpc-pascal] Feature "Multiline strings" added
Hairy Pixels
genericptr at gmail.com
Mon Jul 28 16:41:31 CEST 2025
On Jul 28, 2025 at 8:24:38 AM, Brian via fpc-pascal <
fpc-pascal at lists.freepascal.org> wrote:
> The two ways to do comments are, IMO, almost essential. The way I was
> taught to write Pascal, about 45 years ago now, was to use braces for
> comments - but then if you needed to comment out a whole chunk of
> code, including multiple comments, you used (* and *) to do it.
>
I think this is historical baggage from {} not being able to nest within
each other. There’s no technical reason why {} can’t nest but instead of
changing that a new comment was introduced. Seems redundant to me now
looking back.
Regards,
Ryan Joseph
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20250728/a83912a2/attachment.htm>
More information about the fpc-pascal
mailing list