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.
Source Code
pure function get_file_extension(filename)result(extension)! Function that returns the extension of a string filename! where filename is "basename.extension"character(len=*),intent(in)::filenamecharacter(len=:),allocatable::extensioninteger::dot_indexdot_index=find_extension_index(trim(filename))! If the filename has no extension, return blank stringif(dot_index>0)thenextension=trim(filename(dot_index:))elseextension=''endif end function get_file_extension