Re: Feature "Multiline strings" added
Hairy Pixels via fpc-pascal <[email protected]>
| Newsgroups | gmane.comp.compilers.free-pascal.general |
|---|---|
| Message-ID | <CAGsUGtkGtWhMA5hktr2841pRY2e6--pqdQ8dVrfyLNCkQZ_9hQ@mail.gmail.com> |
On Jul 28, 2025 at 8:24:38 AM, Brian via fpc-pascal < [email protected]> 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 _______________________________________________ fpc-pascal maillist - [email protected] https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal