Path: csiph.com!eternal-september.org!feeder.eternal-september.org!aioe.org!.POSTED!not-for-mail From: "Rod Pemberton" Newsgroups: alt.os.development Subject: Re: Smaller C Date: Sun, 20 Sep 2015 17:37:19 -0400 Organization: Aioe.org NNTP Server Lines: 24 Message-ID: References: <1debc959-af42-490a-ac12-568e59fa441a@googlegroups.com> <79c0cfce-38ec-4bcc-bd5f-a25808ffb8ea@googlegroups.com> <39da71f8-7e21-4fcb-84da-263d5c81059f@googlegroups.com> <870c24c2-224c-48e5-9955-fcbe6f67b68c@googlegroups.com> <4837e85f-886b-4db4-8b7e-6005a9f39494@googlegroups.com> NNTP-Posting-Host: n4wpt9zq8xR26Ttf9mo2BA.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@aioe.org User-Agent: Opera Mail/12.16 (Linux) X-Notice: Filtered by postfilter v. 0.8.2 Xref: csiph.com alt.os.development:8821 On Mon, 14 Sep 2015 18:17:05 -0400, James Harris wrote: >> I programmed in PL/1 for a number of years and learned from it that >> pass-by-reference is all you need. You don't need pass-by-value at >> all. > > Sure. > >> I literally used pass-by-value only once for PL/1. > > That takes me back. You mean PL/1 let you choose the passing mode? I > hated PL/1. It was an early form of PL/1 based on one of the first standards. It was not IBM's PL/I which was a much later version. IBM uses the letter I, they used the number 1. It looked more like Pascal with pointers and PL/1 data structures, etc. IIRC, you just put paren's around the value in the procedure call to pass-by-value. Rod Pemberton -- Just how many texting and calendar apps does humanity need?