Hi,
I'd like to ask a question about character. Here is my program:
program main
.....
character (len =100 ) :: myfile
.....
myfile='file1'
call run_plot(myfile)
........
end program main
module plots
contains
subroutine run_plot(myfile)
character(len =*), intent(in) :: myfile
....
end subroutine
end module
When I see the file1 in the subroutine using a debugger, the type of
file1 becomes character*1 (?). It's look like an array to me. Can
anyone tell me the reason? Thanks.
Richard
|