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
pure integer function hex2int(hex)character(len=*),intent(in)::hexinteger::i,n,ipower! 70c71 -> 461937n=len(hex)hex2int=0!base 16 (0,1,2,3,4,5,6,7,8,9,a,b,c,d,e,f)ipower=-1do i=n,1,-1ipower=ipower+1associate(c=>hex(i:i))if(c>='a'.and.c<='f')thenhex2int=hex2int+(10+iachar(c)-iachar('a'))*(16**ipower)elsehex2int=hex2int+(iachar(c)-iachar('0'))*(16**ipower)end if end associate end do end function hex2int