Recent content by dervish
-
D
Fortran Fortran: Passing loop names to subroutines
Thanks minger, that's probably what i'll have to do. The only problem is that calling the original subroutine will increment the recursion depth again, eventually i'll need to exit from each at least once (involving quite a few checks for the 'finished' switch). Still, that's not really a...- dervish
- Post #5
- Forum: Programming and Computer Science
-
D
Fortran Finding a Good Fortran Intro Text: Examples & Exercises
Fortran 90/95 (or 95/03) for scientists and engineers (by Chapman) is a good introduction/reference book - it's very comprehensive, and it has lots of well worked examples & exercises- dervish
- Post #2
- Forum: Programming and Computer Science
-
D
Fortran Fortran: Passing loop names to subroutines
Thanks for the quick reply! I'm not sure if switches can work like that in Fortran. So far I haven't been able to find any way to exit out of more than one layer of nested subroutines at a time - if this could be done it would be ideal (a conditional exit from all nested subroutines would be...- dervish
- Post #3
- Forum: Programming and Computer Science
-
D
Fortran Fortran: Passing loop names to subroutines
Hello, A Fortran program I'm working on has a few nested, recursive subroutines, with many entry points between each one (there are lots of places in the first subroutine where calls to the 2nd depth subroutine are made, etc.). I'm looking for a way to conditionally exit all subroutines...- dervish
- Thread
- Fortran Loop
- Replies: 5
- Forum: Programming and Computer Science