assignment(=) Interface

public interface assignment(=)

Copies a string to a traditional Fortran character(len = *) string or vice-versa.


Contents


Module Procedures

private elemental subroutine string_to_char(lhs, rhs)

Assigns a string to a character array.

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(out) :: lhs

The string to which lhs is assigned.

type(string), intent(in) :: rhs

The string to copy.

private elemental subroutine char_to_string(lhs, rhs)

Assigns a character array to a string type.

Arguments

Type IntentOptional Attributes Name
type(string), intent(out) :: lhs

The string object to which rhs is assigned.

character(len=*), intent(in) :: rhs

The string to copy.