Return the lowercase version of the CK
character.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
character(kind=CK,len=1), | intent(in) | :: | c |
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.
pure elemental function lowercase_character(c) result(c_lower)
implicit none
character(kind=CK,len=1),intent(in) :: c
character(kind=CK,len=1) :: c_lower
integer :: i !! index in uppercase array
i = index(upper,c)
c_lower = merge(lower(i:i),c,i>0)
end function lowercase_character