Hi,
This old code that I'm trying to port to OSX has the following instruction:
<code>
OPEN(OLU,FILE=FILE(NC:),STATUS=STAT,ACCESS='SEQUENTIAL',
& FILEOPT='EOF',IOSTAT=IOS)
</code>
When compiling it I get the error:
<code>
& FILEOPT='EOF',IOSTAT=IOS)
^
Invalid form for OPEN statement at (^)
</code>
Does anybody know why is this the case? It works in all other *NIX.
Many thanks in advance.
====================================================================
The system:
Darwin Kernel Version 7.7.0: Sun Nov 7 16:06:51 PST 2004;
root:xnu/xnu-517.9.5.obj~1/RELEASE_PPC powerpc
Compiler:
Reading specs from /sw/lib/gcc/powerpc-apple-darwin7.7.0/3.4.1/specs
Configured with: ../gcc-3.4.1/configure --prefix=/sw
--enable-languages=f77 --infodir=/share/info --libexecdir=/lib
--disable-shared
Thread model: posix
gcc version 3.4.1