Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!usc!samsung!xylogics!world!burley From: burley@world.std.com (James C Burley) Newsgroups: comp.lang.fortran Subject: Re: Function calls in the middle of subroutine CALLs? -- Is it standard fortran 77 ???? Message-ID: Date: 14 Jul 90 19:42:36 GMT References: <6381@helios.TAMU.EDU> Sender: burley@world.std.com (James C Burley) Organization: The World Lines: 18 In-Reply-To: forrest@eemips.tamu.edu's message of 6 Jul 90 08:01:47 GMT 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 (I expect mixed language programming such as FORTRAN and C is not part of the fortran 77 standard...)".... Thanks. bob forrest forrest@ee.tamu.edu -- internet forrest@tamvxee -- bitnet CALL PUTDOT(XLOC,YLOC,IPSVAL(BITMAP),IXDIM,IYDIM) Yes (and no). You can do what is shown in the example you provide, as long as you understand that the function call is not made "in the middle" of the subroutine call, but prior to that call (and the result passed to the subroutine as an argument). But it seems clear you mean "in the middle" only in the sense of "as one of the arguments for a subroutine call".