Re: Recursion
- From: Michael Prager <Mike.Prager.indigo@xxxxxxxx>
- Date: Thu, 30 Jun 2005 10:52:58 -0400
"David Flower" <DavJFlower@xxxxxxx> wrote:
>Calling sub-programs recursively is prohibited by the F77 standard, but
>allowed by the F90 standard.
>
>I have tested Salford FTN77, and it will not compile a FUNCTION that
>invokes itself directly, but indirect recursion works.
>
>So can someone tell me which F77 compilers de facto allow indirect
>recursion ?
Is the question meant to gather information about compilers or
to solve a programming problem?
If the former, I can offer no advice.
If the latter, recall that any F95 compiler is in essence an F77
compiler with extensions, as any valid F77 code should compile
correctly. Thus, to add recursion to an F77 program, use an F95
compiler.
--
Mike Prager, NOAA, Beaufort, NC
Address spam-trapped; remove color to reply.
* Opinions expressed are personal and not represented otherwise.
* Any use of tradenames does not constitute a NOAA endorsement.
.
- References:
- Recursion
- From: David Flower
- Recursion
- Prev by Date: Re: HELP ME, please
- Next by Date: Re: HELP ME, please
- Previous by thread: Re: Recursion
- Next by thread: HELP ME, please
- Index(es):
Relevant Pages
|