to_list_repeat_listclass Function

public function to_list_repeat_listclass(char1, num_repeat) result(this)

It creates a list with a same entity as char1 into a list.

Arguments

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

This entity will be repeated for all contents in a returned list.

integer(kind=int32), intent(in) :: num_repeat

Number of the repeat.

Return Value type(List_)