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
function get_hostname()result(host_name)implicit nonecharacter(:),allocatable::host_namecharacter(64)::tmp_host_nameinteger(int32)::len,statusinteger(int32)::icharacter(:),allocatable::host_name_lists(:)integer(int32),parameter::host_name_lists_length=2allocate(character(len=16)::host_name_lists(host_name_lists_length))host_name_lists(1)="HOSTNAME"host_name_lists(2)="COMPUTERNAME"do i=1,host_name_lists_lengthcall get_environment_variable(host_name_lists(i),&tmp_host_name,&len,&status)if(status==0.and.len>0)thenhost_name=trim(adjustl(tmp_host_name))deallocate(host_name_lists)return end if end dohost_name="Unknown"deallocate(host_name_lists)end function get_hostname