so I am doing a project in Fortran and I\'m coming across a problem with the strings but it only is opening in functions the same statements work outside of the function namely