Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
21 Views

F77 and F90

Hello.

Is their a possibility to handle F77 fixed format FORTRAN-files and F90 free format FORTRAN-files with an option automatically or have I insert manually the -free option?

Thanks in Advance.

Regards
Cetin

0 Kudos
1 Reply
Highlighted
Employee
21 Views

Sure, the format of the file can be implied via the file extension. The compiler assumes:

  • Files with an extension of .f90, .F90, or .i90 are free-format source files.
  • Files with an extension of .f, .for, .FOR, .ftn, or .i are fixed-format files.

Refer to the Fortran User's Guide topic Understanding File Extensions for more details.

0 Kudos