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.
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
elemental function capitalize(self)result(capitalized)!< Return a string with its first character capitalized and the rest lowercased.!<!<```fortran!< type(string) :: astring!< astring = 'say all Hello WorLD!'!< print '(L1)', astring%capitalize()//''=='Say all hello world!'!<```!=> T <<<class(string),intent(in)::self!< The string.type(string)::capitalized!< Upper case string.integer::c!< Character counter.if(allocated(self%raw))thencapitalized=self%lower()c=index(LOWER_ALPHABET,capitalized%raw(1:1))if(c>0)capitalized%raw(1:1)=UPPER_ALPHABET(c:c)endif endfunction capitalize