... behavior from CVF to IVF. We decided that the CVF behavior was a bug because you could not OPEN a directory. As others have noted, you are trying to extend INQUIRE into something beyond its definition. -- Steve Lionel Developer Products Division Intel Corporation Nashua, NH For email address, replace "invalid" with "com" User communities for Intel Software Development ...
On 21 aug, 23:18, Al Greynolds <awgreyno...@earthlink.net> wrote: INQUIRE(FILE='some directory specification',EXIST=ex) correctly tests for the existence of a directory with all my Windows compilers... Al Greynoldswww.ruda.com On Windows and Linux/UNIX/OSX a directory contains a special file named ".". You might try: INQUIRE( FILE = 'mydirectory/.', EXIST = exists ) Regards, Arjen
Al Greynolds <awgreynolds@earthlink.net> wrote: INQUIRE(FILE='some directory specification',EXIST=ex) correctly tests for the existence of a directory with all my Windows compilers (g95,gfortran,lf95) except IVF. Does anybody know the reason for this and what the standard says if anything? The Fortran standard does not even have the concept of a directory (and Fortran has been ...
Al Greynolds wrote: INQUIRE(FILE='some directory specification',EXIST=ex) correctly tests for the existence of a directory with all my Windows ...'t IVF add some extensions specifically for querying directories? CVF does handle directories with the above inquire statement. Al Greynolds www.ruda.com -- Gary Scott mailto:garylscott@sbcglobal dot net Fortran ...
INQUIRE(FILE='some directory specification',EXIST=ex) correctly tests for the existence of a directory with all my Windows compilers (g95,gfortran,lf95) except IVF. Does anybody know the reason for this and what the standard says if anything? Al Greynolds www.ruda.com
... FORMATTED and UNFORMATTED when i am inquiring by file and file is not ... of FORMATTED is UNKNOWN if: a) Inquire by file is done and file is not connected. b) Inquire by Unit is done and file ... suggest fixing the other one). For inquire by unit, I'd agree with...isn't a file to be inquired about. I don't think that...thos eunit numbers unconnected). But for inquire by file, I see no ...