str Interface

public interface str

It converts valiables into a string.


Module Procedures

public pure function fstring_int(x) result(a)

Arguments

Type IntentOptional Attributes Name
integer(kind=int32), intent(in) :: x

Return Value character(len=:), allocatable

public pure function fstring_int64(x) result(a)

Arguments

Type IntentOptional Attributes Name
integer(kind=int64), intent(in) :: x

Return Value character(len=:), allocatable

public pure function fstring_real(x) result(a)

Arguments

Type IntentOptional Attributes Name
real(kind=real64), intent(in) :: x

Return Value character(len=:), allocatable

public pure function fstring_real32(x) result(a)

Arguments

Type IntentOptional Attributes Name
real(kind=real32), intent(in) :: x

Return Value character(len=:), allocatable

public pure function fstring_complex(x) result(a)

Arguments

Type IntentOptional Attributes Name
complex(kind=kind(0d0)), intent(in) :: x

Return Value character(len=:), allocatable

public pure function fstring_int_len(x, length) result(a)

Arguments

Type IntentOptional Attributes Name
integer(kind=int32), intent(in) :: x
integer(kind=int32), intent(in) :: length

Return Value character(len=length)

public pure function fstring_real_len(x, length) result(a)

Arguments

Type IntentOptional Attributes Name
real(kind=real64), intent(in) :: x
integer(kind=int32), intent(in) :: length

Return Value character(len=60)

public pure function fstring_logical(x) result(a)

Arguments

Type IntentOptional Attributes Name
logical, intent(in) :: x

Return Value character(len=5)

public pure function fstring_String(x) result(a)

Arguments

Type IntentOptional Attributes Name
type(string_), intent(in) :: x

Return Value character(len=:), allocatable

public function stringFromChar(charval) result(ret)

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: charval

Return Value type(string_)