Sujet : Re: Use of { and } was Re: Back & Forth - Co-routines
De : bl1-thispartdoesnotbelonghere (at) *nospam* gmx.com (Bernd Linsel)
Groupes : comp.lang.forthDate : 02. Feb 2025, 16:57:21
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vno4l1$m7u7$1@dont-email.me>
References : 1 2 3 4 5 6
User-Agent : Betterbird (Linux)
On 02.02.25 15:32, Anton Ertl wrote:
albert@spenarnc.xs4all.nl writes:
The first publication of Pascal was IIRC
1975
Pascal , user manual and report.
Jensen/Wirth
ISBN 0-387-90144-2
Uses { } in all examples, and it is referenced in chapter 1, briefly.
I also have a book on Pascal: "Pascal Handbuch" by E. Floegel. In
Figure 3.31 on page 15 it shows (* and *), but not { and } as
"Verwendete Zeichen in Pascal" (used characters in Pascal, although
the intention is probably to show the symbolic lexemes).
Before IBM PC compatibles with their CP 437 became ubiquituous, the
characters [ \ ] { | } ~ were commonly replaced with language-specific
glyphs, in German e.g. with the umlauts and sz-ligature.
This is the reason that in German publications Pascal sources often used
(* ... *) for comments, and (. ... .) for indices (instead of [...]),
because otherwise comments would have appeared as ä ... ü, and indices
as Ä ... Ü.
-- Bernd Linsel