Path: utzoo!mnetor!uunet!husc6!cmcl2!beta!a!jlg From: jlg@a.UUCP (Jim Giles) Newsgroups: comp.lang.fortran Subject: Re: Recursion Message-ID: <533@a.UUCP> Date: 25 Mar 88 01:31:13 GMT References: <7975@agate.BERKELEY.EDU> Distribution: na Organization: Los Alamos Natl Lab, Los Alamos, N.M. Lines: 16 Summary: Missed my point.. In article <7975@agate.BERKELEY.EDU>, jerry@violet.berkeley.edu ( Jerry Berkman ) writes: > > The 1977 FORTRAN standard, ANSI x3.9-1978 says (page 15-1, lines 55-56): > "A subprogram must not reference itself, either directly or indirectly." > > Recursion is explicitly allowed in Fortran 8x. > I know all this. My point was that Fortran 8x only needed to include the sentence: "A procedure may reference itself, either directly or indirectly." This would be the only change required in order to allow recursion. The question I asked was: "Why is the keyword RECURSIVE necessary?" J. Giles Los Alamos