dm_string_type_allocate Subroutine

public pure elemental subroutine dm_string_type_allocate(string, n)

Allocates string type to empty character of length 0 or n, if not allocated already.

Arguments

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

String type.

integer, intent(in), optional :: n

Length of string data.