-
Couldn't load subscription status.
- Fork 19
Description
I've always considered it a major defect of Fortran that it doesn't seem to know anything about directories or the file system. I think some people consider this a feature of sorts, but it's hard to imagine nowadays any complicated program that doesn't need to know about these things. So we all resort to compiler extensions (e.g. Intel's portability library is great) or hand-rolled hacks or platform-specific system calls. It would be nice if a lot of this was standardized. Just of few of the things we need:
- does a directory exist? (I think Intel has an extension for this).
- delete a file or directory (I know for files we can
openand thenclose(..status='delete')but that is just so non-modern). - create a directory
- list all the files in a directory
- get/set the current working directory
- rename a file or directory
- ... others?
Having these standardized so they will work on all platforms and with all compilers would be a big improvement over the current situation.