Fortran/Versions

From Wikibooks, open books for an open world
Jump to navigation Jump to search

← FAQ | Hello world →


  • FORTRAN 66 comments are denoted by the 'C' character in column 1, while FORTRAN 77 comments may also use '*' in column 1 instead. Fortran 90 also allows the use of '!' character.
  • FORTRAN 77 symbolic names are limited to 6 character lengths, while Fortran 90 allows names up to 31 characters long.
  • FORTRAN 77 files need 6 spaces before words begin, while Fortran 90 doesn't (as it uses the free-form code style.)