construct_ManagingFileReader_t Function

public function construct_ManagingFileReader_t(file_name, echo_lines, err) result(res)

Construct a ManagingFileReader_t

If the argument echo_lines is present, then the read lines are echoed to the unit echo_lines. If the argument is not present, the echoing is switched off.

If err is not present, all errors will lead to a stop of the program. Otherwise this argument contains the error code.

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: file_name
integer, intent(in), optional :: echo_lines
integer, intent(out), optional :: err

Return Value type(ManagingFileReader_t)


Contents