Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

file extension for free form FORTRAN 2018

Status
Not open for further replies.

WAX13

Programmer
Jan 3, 2022
2
GR
with what file extension do we save a FORTRAN 2018 file in order to compile it with gfortran in free form?
 
Basically anything that is not .f or .for. The version of Fortran is determined by -std= not by the file extension (that is no .f or .for).
 
weird it doesn't support .f18 or something more recent.
i guess .f90, .f95, .f03, .f08 do not support the FORTRAN 2018 new features.

ty
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top