Hello, everyone,
The following function only returns the first letter of the input string and I can't put my finger on why that is, so I'm asking for your advice once more.
And thanks a lot for all the help provided so far. It's made getting started with Fortran a lot less frustrating than I had it expected to be.
CHARACTER FUNCTION get_filepath(messg)
CHARACTER FUNCTION get_filepath(messg)
CHARACTER(LEN=260)::get_filepath,reval
CHARACTER(LEN=*),INTENT(IN)::messg
! Get filepath
PRINT*,messg
READ*,reval
get_filepath=reval
END FUNCTION get_filepath