lgt Interface

public interface lgt

Lexically compare the order of two character sequences being greater, The left-hand side, the right-hand side or both character sequences can be represented by a string.

This method is elemental and returns a default logical scalar value.


Contents


Module Procedures

private elemental function lgt_object_object(lhs, rhs) result(is_lgt)

Lexically compare two character sequences for being greater.

Arguments

Type IntentOptional AttributesName
class(string_class), intent(in) :: lhs
class(string_class), intent(in) :: rhs

Return Value logical

private elemental function lgt_object_string(lhs, rhs) result(is_lgt)

Lexically compare two character sequences for being greater.

Arguments

Type IntentOptional AttributesName
class(string_class), intent(in) :: lhs
type(string_type), intent(in) :: rhs

Return Value logical

private elemental function lgt_string_object(lhs, rhs) result(is_lgt)

Lexically compare two character sequences for being greater.

Arguments

Type IntentOptional AttributesName
type(string_type), intent(in) :: lhs
class(string_class), intent(in) :: rhs

Return Value logical

private elemental function lgt_object_char(lhs, rhs) result(is_lgt)

Lexically compare two character sequences for being greater.

Arguments

Type IntentOptional AttributesName
class(string_class), intent(in) :: lhs
character(len=*), intent(in) :: rhs

Return Value logical

private elemental function lgt_char_object(lhs, rhs) result(is_lgt)

Lexically compare two character sequences for being greater.

Arguments

Type IntentOptional AttributesName
character(len=*), intent(in) :: lhs
class(string_class), intent(in) :: rhs

Return Value logical