[no subject]
On the note of recursion, I have found exactly 2 cases where it was
useful for me. 1) Multidimensional integration. I pass an external
function to a 1-D integrator, and the function itself also calls
the same 1-D integrator. Perfectly legit, but in fortran you would
need 2 copies of the same 1-D integrator. 2) Sometimes I want
to have nested do-loops, where the depth of nesting is determined
at run time. With recursion, a function calls itself, incrementing
a global variable until it determines a limit set at run-time.
How would you do this in fortran?
bobg