Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!mcvax!dik From: dik@cwi.nl (Dik T. Winter) Newsgroups: comp.lang.fortran Subject: Re: FORTRAN value parameters (do compilers check for violation?) Message-ID: <364@zuring.cwi.nl> Date: Tue, 13-Oct-87 17:36:25 EDT Article-I.D.: zuring.364 Posted: Tue Oct 13 17:36:25 1987 Date-Received: Thu, 15-Oct-87 20:01:37 EDT References: <8710100545.AA07078@lbl-helios> <5401@jade.BERKELEY.EDU> Organization: CWI, Amsterdam Lines: 19 In article <5401@jade.BERKELEY.EDU> lagache@violet.berkeley.edu (Edouard Lagache) writes: > > 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? > I do not know whether such compilers exist, but of course the standard is not practically enforceable. However, such situations exist in every language I know, but other languages call it undefined. -- dik t. winter, cwi, amsterdam, nederland INTERNET : dik@cwi.nl BITNET/EARN: dik@mcvax