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.
Where possible, edges connecting nodes are
given different colours to make them easier to distinguish in
large graphs.
Variables
Type
Visibility
Attributes
Name
Initial
integer,
private
::
last
integer,
private
::
nsub
Source Code
pure function chomp_substring_char_char(string,substring)result(chomped_string)character(len=*),intent(in)::stringcharacter(len=*),intent(in)::substringcharacter(len=:),allocatable::chomped_stringinteger::last,nsublast=len(string)nsub=len(substring)if(nsub>0.and.nsub<=last)then do while(last>=nsub)if(string(last-nsub+1:last)==substring)thenlast=last-nsubelse exit end if end do end if if(last<=0)thenchomped_string=''elsechomped_string=string(1:last)end if end function chomp_substring_char_char