Newsgroups: comp.lang.fortran Path: utzoo!utgpu!watserv1!maytag!watstat!dmurdoch From: dmurdoch@watstat.uwaterloo.ca (Duncan Murdoch) Subject: Re: Function calls in the middle of subroutine CALLs? -- Is it standard fortran 77 ???? Message-ID: <1990Jul19.014856.13421@maytag.waterloo.edu> Sender: daemon@maytag.waterloo.edu (Admin) Organization: University of Waterloo References: <6381@helios.TAMU.EDU> Date: Thu, 19 Jul 90 01:48:56 GMT Lines: 17 In article burley@world.std.com (James C Burley) writes: >In article <6381@helios.TAMU.EDU> forrest@eemips.tamu.edu (Bob Forrest) writes: > > "Is it part of the FORTRAN 77 standard to be allowed to make function > calls in the middle of a subroutine CALL? -- assuming only FORTRAN > >Yes (and no). ... >But it seems clear you mean "in the middle" only >in the sense of "as one of the arguments for a subroutine call". Does the standard specify in what order the arguments will be evaluated? If they have side effects, it makes a big difference sometimes. I've been bitten by a bug caused by the lack of such specification in Pascal. Duncan Murdoch