🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.misc
Article #6032

Re: Algol-style semicolons

#6032
From: Liber
Date: Wed, 21 Dec 1988 01:52
23 lines
1453 bytes
In article <88Dec16.100919est.4327@turing.toronto.edu> perelgut@turing.toronto.edu (Stephen Perelgut) writes:
|Another method of handling semi-colons is to not have them.  All you
|need to do is terminate multi-part statements.  For example:
|	if x then
|	    s1
|	    s2
|	elsif y then
|	    s3
|	    s4
|	else
|	    s5
|	end if
|
|There are no ambiguities there!  And the only cost is terminating a statement.
|For example: if/end if; for/end for; loop/end loop; case/end case; etc.
|This also has the effect of making programs more readable.

Yes, but what do you do with statements that span more than one line?
You still need a way of saying that an expression is to be continued on
the next line (or that you don't need to continue a statement by
use of a separator or terminator; this amounts to the same thing).
-- 
NEVIN ":-)" LIBER  AT&T Bell Laboratories  nevin1@ihlpb.ATT.COM  (312) 979-4751
Technical Details
Message-ID: <9235@ihlpb.ATT.COM>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watmath!clyde!att!ihlpb!nevin1
References: <1126@etive.ed.ac.uk> <208100002@s.cs.uiuc.edu> <868@mcrware.UUCP> <8008@aw.sei.cmu.edu> <GARY.88Dec15142623@milo.mcs.clarkson.edu> <88Dec16.100919est.4327@turing.toronto.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watmath!clyde!att!ihlpb!nevin1
From: nevin1@ihlpb.ATT.COM (Liber)
Newsgroups: comp.lang.misc
Subject: Re: Algol-style semicolons
Message-ID: <9235@ihlpb.ATT.COM>
Date: 21 Dec 88 01:52:36 GMT
References: <1126@etive.ed.ac.uk> <208100002@s.cs.uiuc.edu> <868@mcrware.UUCP> <8008@aw.sei.cmu.edu> <GARY.88Dec15142623@milo.mcs.clarkson.edu> <88Dec16.100919est.4327@turing.toronto.edu>
Reply-To: nevin1@ihlpb.UUCP (55528-Liber,N.J.)
Organization: AT&T Bell Laboratories - Naperville, Illinois
Lines: 23