reverse_string Function

private elemental function reverse_string(string) result(reversed_string)

Reverse the character sequence hold by the input string

Arguments

Type IntentOptional Attributes Name
type(string_type), intent(in) :: string

Return Value type(string_type)


Calls

proc~~reverse_string~~CallsGraph proc~reverse_string reverse_string proc~maybe maybe proc~reverse_string->proc~maybe reverse_ reverse_ proc~reverse_string->reverse_

Called by

proc~~reverse_string~~CalledByGraph proc~reverse_string reverse_string interface~reverse~2 reverse interface~reverse~2->proc~reverse_string

Source Code

elemental function reverse_string(string) result(reversed_string)
   type(string_type), intent(in) :: string
   type(string_type) :: reversed_string

   reversed_string%raw = reverse_(maybe(string))

end function reverse_string