Skip to content

Instantly share code, notes, and snippets.

@guziy
Created August 23, 2011 22:24
Show Gist options
  • Save guziy/1166769 to your computer and use it in GitHub Desktop.
Save guziy/1166769 to your computer and use it in GitHub Desktop.
Subroutine as a parameter to another subroutine in f90
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