Open syntax error

FX fxcoudert@gmail.com
Thu Jun 5 22:18:00 GMT 2008


> $ make
> f77 -g -C  -c -o dirt.o dirt.f
>  In file dirt.f:44
>
>       open(*,form='print')
>           1
> Error: Syntax error in OPEN statement at (1)
> make: *** [dirt.o] Error 1
>
> I understand that g77 does not support FORM='PRINT' and I have looked
> at asa. I expect that I could use asa after the program runs.
> But how do I modify this statement to compile. I tried   
> form='formatted'.

If I understand correctly what it says in the g77 doc (http:// 
www.delorie.com/gnu/docs/gcc/g77_604.html), you should simply remove  
or comment out that statement.

FX

-- 
François-Xavier Coudert
http://www.homepages.ucl.ac.uk/~uccafco/



More information about the Fortran mailing list