test if pathname already exists
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
character(len=*), | intent(in) | :: | filename |
function exists(filename) character(len=*), intent(in) :: filename logical :: exists inquire(file=filename, exist=exists) end function exists