llt Interface

public interface llt

Lexically compare the order of two character sequences being less, 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.


Module Procedures

private elemental function llt_string_string(lhs, rhs) result(is_llt)

Lexically compare two character sequences for being less. 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

private elemental function llt_string_char(lhs, rhs) result(is_llt)

Lexically compare two character sequences for being less. In this version the left-hand side character sequences is by a string.

Arguments

Type IntentOptional Attributes Name
type(string_type), intent(in) :: lhs
character(len=*), intent(in) :: rhs

Return Value logical

private elemental function llt_char_string(lhs, rhs) result(is_llt)

Lexically compare two character sequences for being less. In this version the right-hand side character sequences is by a string.

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: lhs
type(string_type), intent(in) :: rhs

Return Value logical