Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!mit-eddie!genrad!decvax!ucbvax!jade!violet.berkeley.edu!ed298-ak From: ed298-ak@violet.berkeley.edu (Edouard Lagache) Newsgroups: comp.lang.fortran Subject: Re: FORTRAN value parameters (do compilers check for violation?) Message-ID: <5401@jade.BERKELEY.EDU> Date: Mon, 12-Oct-87 16:10:16 EDT Article-I.D.: jade.5401 Posted: Mon Oct 12 16:10:16 1987 Date-Received: Wed, 14-Oct-87 00:51:00 EDT References: <8710100545.AA07078@lbl-helios> Sender: usenet@jade.BERKELEY.EDU Reply-To: lagache@violet.berkeley.edu (Edouard Lagache) Organization: University of California, Berkeley Lines: 14 The FORTRAN standard on passing expressions has been quoted a number of times on the net. To paraphrase, expressions can be passed only if they are not changed in the subprogram. However, all the compiler examples I have seen haven't checked if the program in fact satisfied the standard. Do such compilers exist, and if not is the standard practically enforceable? Edouard Lagache lagache@violet.berkeley.edu P.S. No flames please! I am just curious about this matter.