Deutsch   English   Français   Italiano  
<2025Feb2.083926@mips.complang.tuwien.ac.at>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!weretis.net!feeder9.news.weretis.net!news.quux.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail
From: anton@mips.complang.tuwien.ac.at (Anton Ertl)
Newsgroups: comp.lang.forth
Subject: Re: Use of { and } was Re: Back & Forth - Co-routines
Date: Sun, 02 Feb 2025 07:39:26 GMT
Organization: Institut fuer Computersprachen, Technische Universitaet Wien
Lines: 17
Message-ID: <2025Feb2.083926@mips.complang.tuwien.ac.at>
References: <nnd$2fb29a8e$298ef3f8@23fe4f00fa62d734> <nnd$7362f28c$5ccd981a@2cfb59244f115bf6> <b4cce50a96837965e8bce845b89a39764dca0ef6@i2pn2.org> <2025Feb1.085049@mips.complang.tuwien.ac.at> <nnd$583fd3db$7335648a@6f5282f068bd3dc7> <8a9dfb4cf6ab113a0e97a7f3eb4ff4ceccbcd7b6@i2pn2.org>
Injection-Date: Sun, 02 Feb 2025 08:44:16 +0100 (CET)
Injection-Info: dont-email.me; posting-host="f0d8ba63a863aedce302b0b45b92c591";
	logging-data="627664"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1+d9D32wfcSLRl55WMnQE55"
Cancel-Lock: sha1:jkRAWPo8BJTKmbXRLzqoRDGTwNE=
X-newsreader: xrn 10.11
Bytes: 1922

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.html
comp.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/