Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site cornell.UUCP Path: utzoo!watmath!clyde!burl!ulysses!mhuxr!mhuxt!houxm!vax135!cornell!hal From: hal@cornell.UUCP (Hal Perkins) Newsgroups: net.lang.c Subject: Re: (Call-by-reference) Message-ID: <1217@cornell.UUCP> Date: Wed, 24-Apr-85 13:32:32 EST Article-I.D.: cornell.1217 Posted: Wed Apr 24 13:32:32 1985 Date-Received: Thu, 25-Apr-85 04:11:16 EST References: <486@lll-crg.ARPA> <515@lll-crg.ARPA> <> <330@cubsvax.UUCP> <388@ho95b.UUCP> Reply-To: hal@gvax.UUCP (Hal Perkins) Organization: Cornell Univ. CS Dept. Lines: 14 Summary: > Fortran-77 The language assumes call-by-reference... Not so. The standard is worded to allow either call by reference or call by value-result, at least for scalars. Most implementers use call by reference, but at least a few (like IBM for the 360/370) use value-result, as anyone who's ever had to convert a program that depends (usually subtly) on a particular implementation can tell you. Further discussion should be confined to language lawyers who really know the standard, and should be sent to /dev/null since this has been beaten to death already. Hal