Sujet : Re: Use of { and } was Re: Back & Forth - Co-routines
De : anton (at) *nospam* mips.complang.tuwien.ac.at (Anton Ertl)
Groupes : comp.lang.forthDate : 02. Feb 2025, 08:39:26
Autres entêtes
Organisation : Institut fuer Computersprachen, Technische Universitaet Wien
Message-ID : <2025Feb2.083926@mips.complang.tuwien.ac.at>
References : 1 2 3 4 5 6
User-Agent : xrn 10.11
dxf <
dxforth@gmail.com> writes:
On 1/02/2025 11:14 pm, albert@spenarnc.xs4all.nl wrote:
{ } is used for comment in Pascal.
>
That's interesting. When did that come in, and why, given the issues?
Good question. My memory is only of (* *), but indeed Section 6.1.8
of
https://www.standardpascal.org/iso7185.pdf makes it clear that (*
and { can be used interchangeably, as well as *) and }.
- anton
-- M. Anton Ertl http://www.complang.tuwien.ac.at/anton/home.htmlcomp.lang.forth FAQs: http://www.complang.tuwien.ac.at/forth/faq/toc.html New standard: https://forth-standard.org/EuroForth 2023 proceedings: http://www.euroforth.org/ef23/papers/EuroForth 2024 proceedings:
http://www.euroforth.org/ef24/papers/