str_is_comment Function

public pure function str_is_comment(line, comment_str) result(res)

Returns .true. if line is a comment, .false. other wise.

line is a comment if comment_str is its first non-blank character sequence. If line is an empty string or contains only blankspaces, the return value is .false. If comment_str is empty, the return value is .true..

Arguments

Type IntentOptional AttributesName
character(len=*), intent(in) :: line

Input string

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

String marking the beginning of a comment.

Return Value logical


Called by

proc~~str_is_comment~~CalledByGraph proc~str_is_comment str_is_comment proc~readline readline proc~readline->proc~str_is_comment proc~read_config read_config proc~read_config->proc~readline proc~control_read control_read proc~control_read->proc~readline proc~run run proc~run->proc~read_config program~main main program~main->proc~run

Contents

None