read_file Subroutine

public subroutine read_file(filename, content, status)

Read entire file into a single string

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: filename
character(len=:), intent(out), allocatable :: content
integer, intent(out) :: status