Created
August 23, 2011 22:24
-
-
Save guziy/1166769 to your computer and use it in GitHub Desktop.
Subroutine as a parameter to another subroutine in f90
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
subroutine caller(arg, called) | |
integer :: arg | |
interface | |
subroutine called(arg) | |
integer :: arg | |
end subroutine called | |
end interface | |
call called(arg) | |
end subroutine caller |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment