ziven wrote:
> It seems to be compiler-dependent.
> On linux the Code below yields:
> 1) T F F F with ifort 10.1 20070913;
> 2) T T F F with gcc 4.1.2 20070502;
> 3) T T F F with gcc 3.2.3 20030502;
> 4) T T F F with pgf90 5.1-6
>
> But the "(directory).nul" suggested by Terenc didn't work.
>
> BTW, Steve mentioned "Intel Fortran added INQUIRE keywords to provide
> for asking about
> directories".
> Any detail info about this?
>
From the Intel help system:
Inquiring by Directory:
INQUIRE (DIRECTORY=dir, EXISTS=ex [, DIRSPEC=dirspec] [, ERR=label] [,
IOSTAT=i-var] )
Of course, this won't help you unless you have the Intel compiler, in
which case you probably wouldn't have needed to ask for the info...
--
Catherine Rees Lay
Polyhedron Software Ltd. Registered Office: Linden House,
93 High St, Standlake, Witney, OX29 7RH, United Kingdom.
Registered in England No.2541693. Vat Reg No. GB 537 3214 57


|