le_string_string Function

private elemental function le_string_string(lhs, rhs) result(is_le)

Compare two character sequences for being less or equal. In this version both character sequences are by a string.

Arguments

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

Return Value logical


Called by

proc~~le_string_string~~CalledByGraph proc~le_string_string le_string_string interface~operator(lt=) operator(<=) interface~operator(lt=)->proc~le_string_string

Source Code

elemental function le_string_string(lhs, rhs) result(is_le)
   type(string_type), intent(in) :: lhs
   type(string_type), intent(in) :: rhs
   logical :: is_le

   is_le = .not. (lhs > rhs)

end function le_string_string