🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.misc
Article #6756

Re: Hyphen as identifier characters

#6756
From: Freek Wiedijk
Date: Tue, 20 Feb 1990 13:34
13 lines
945 bytes
In article <776@enea.se> sommar@enea.se (Erland Sommarskog) writes:
 >Since hyphens are used for minus signs to, introducing them
 >is not trivial, particulary not in an existsing language. E.g,
 >      c:=a-b;
 >would suddenly be ambiguous.

In Ada it would be worse! :-)

	n:=n-foo-bar--subtract foo-bar from n

--
Freek "the Pistol Major" Wiedijk                  Path: uunet!fwi.uva.nl!freek
#P:+/ = #+/P?*+/ = i<<*+/P?*+/ = +/i<<**P?*+/ = +/(i<<*P?)*+/ = +/+/(i<<*P?)**
Technical Details
Message-ID: <448@fwi.uva.nl>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!mcsun!hp4nl!fwi.uva.nl!betty!freek
References: <48a55876.12c9a@digital.sps.mot.com> <776@enea.se>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!mcsun!hp4nl!fwi.uva.nl!betty!freek
From: freek@fwi.uva.nl (Freek Wiedijk)
Newsgroups: comp.lang.misc
Subject: Re: Hyphen as identifier characters
Message-ID: <448@fwi.uva.nl>
Date: 20 Feb 90 13:34:00 GMT
References: <48a55876.12c9a@digital.sps.mot.com> <776@enea.se>
Sender: news@fwi.uva.nl
Reply-To: freek@fwi.uva.nl (Freek Wiedijk)
Organization: Faculteit Wiskunde & Informatica, Universiteit van Amsterdam
Lines: 13