Click fortran_subroutines_functions.pdf link to view the file.