Next: Recursive Function Example
Up: Program Units
Previous: Side Effect Functions
In Fortran 90 recursion is supported
as a feature.
- recursive procedures call themselves (either directly or
indirectly),
- recursion is a neat technique
- recursion may incur certain efficiency overheads,
- recursive procedures must be explicitly declared
- recursive functions declarations must contain a RESULT keyword,
and one type declaration refers to both the function name and the
result variable.
For more information, click here
Next: Recursive Function Example
Up: Program Units
Previous: Side Effect Functions
©University of Liverpool, 1997
Wed May 28 23:37:18 BST 1997Not for commercial use.