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.

A string is considered to be a comment if comment_str is its first non-blank character sequence. Note that a string containing only blankspaces is not a comment string, nor is an empty string.

Arguments

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

Input string

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

String indicating 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~read_config_1 read_config_1 proc~read_config_1->proc~readline proc~read_control read_control proc~read_control->proc~readline proc~read_tabulated read_tabulated proc~read_tabulated->proc~readline proc~setup setup proc~setup->proc~read_config proc~setup->proc~read_tabulated program~main main program~main->proc~read_control program~main->proc~setup