Nodes of different colours represent the following:
Solid arrows point from a submodule to the (sub)module which it is
descended from. Dashed arrows point from a module or program unit to
modules which it uses.
Where possible, edges connecting nodes are
given different colours to make them easier to distinguish in
large graphs.
Remove trailing characters in set from string.
Default character set variant where trailing whitespace is removed.
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
Source Code
pure function chomp_string(string)result(chomped_string)! Avoid polluting the module scope and use the assignment only in this scopeuse pic_string_type,only:assignment(=)type(string_type),intent(in)::stringtype(string_type)::chomped_stringinteger::lastlast=verify(string,whitespace,back=.true.)chomped_string=char(string,1,last)end function chomp_string