Re: Jensen's device

genew@vip.net (Gene Wirchenko)
30 Mar 1998 21:37:38 -0500

          From comp.compilers

Related articles
[3 earlier articles]
Re: Call by name in Algol-60 xxx@info.lv (1998-03-20)
Jensen's device xxx@info.lv (1998-03-22)
Re: Jensen's device wclodius@aol.com (1998-03-24)
Re: Jensen's device scott@basis.com (1998-03-24)
Re: Jensen's device jsm@it.dtu.dk (JørgenSteensgaard) (1998-03-24)
Re: Jensen's device wclodius@aol.com (1998-03-30)
Re: Jensen's device genew@vip.net (1998-03-30)
Re: Jensen's device mslamm@olive.mscc.huji.ac.il (1998-03-30)
Re: Jensen's device u-reddy@cs.uiuc.edu (Uday S. Reddy) (1998-03-30)
Re: Jensen's device Andrew.Walker@nottingham.ac.uk (Dr A. N. Walker) (1998-04-03)
Re: Jensen's device jmccarty@sun1307.spd.dsccc.com (1998-04-03)
Re: Jensen's device ok@atlas.otago.ac.nz (Dr Richard A. O'Keefe) (1998-04-03)
Re: Jensen's device rweaver@ix.netcom.com (1998-04-03)
| List of all articles for this month |
From: genew@vip.net (Gene Wirchenko)
Newsgroups: comp.compilers
Date: 30 Mar 1998 21:37:38 -0500
Organization: All USENET -- http://www.Supernews.com
References: 98-03-074 98-03-124 98-03-160 98-03-193 98-03-204 98-03-224
Keywords: PL/I, comment

scott@basis.com (Scott Amspoker) wrote:


[snip]


>Speaking of language "mistakes": I had the misfortune of taking a class in
>PL/I back in the 70's. That was still a time of punched cards. PL/I
>statements (on an IBM machine) had to start in column 2 or greater. This
>seemed perplexing at first. What was so damn special about column 1 that we
>couldn't touch it. A classmate made the connection and pointed out that the
>problem was the open-comment delimiter: '/*'. Those with past experience
>with IBM JCL (or OCL for you System/3 fans) will remember that a punched card
>containing '/*' in column 1 was and end-of-file marker.
>
>I often wondered if PL/I design commitee realized the conflict late in the
>project and decided it would be easier to insist that PL/I statements not
>start in column 1.


          While the above may well be so, it is also true that often the
first character of a line sent to the printer was for printer control.
"1" for page skip, " " for single space, etc. There were characters
for doublespace ("0"?) and overprinting ("+"?), and triplespacing
"2"?). I think you may have been able to use these in PL/I code to
pretty print.


Sincerely,


Gene Wirchenko
[Indeed you could. It's all coming back to me now. Yuck. -John]
--


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.