Nodes of different colours represent the following:
Solid arrows point from a procedure to one which it calls. Dashed
arrows point from an interface to procedures which implement that interface.
This could include the module procedures in a generic interface or the
implementation in a submodule of an interface in a parent module.
Source Code
PURE FUNCTION remove_blanks(str_in)RESULT(str_out)IMPLICIT NONE!-------------------------------------------!inputCHARACTER(LEN=*),INTENT(IN)::str_in!outputCHARACTER(LEN=LEN(str_in))::str_out!-------------------------------------------! LOCAL VARIABLESINTEGER::len_in,i,j!==============================================================================len_in=LEN_TRIM(str_in)str_out=""j=1DO i=1,len_inIF(str_in(i:i).NE.' ')THENstr_out(j:j)=str_in(i:i)j=j+1END If END DOEND FUNCTION remove_blanks