Here is a short program that does what you want, except that it simply displays the file name rather than doing anything with it. I used the common f90 extensions do while, enddo, and exit. The trim function was not available on my version of g77.
implicit none
character*(*)...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.