VMS Help
FORTRAN, Source Format

 *Conan The Librarian (sorry for the slow response - running on an old VAX)

  Each Fortran line has the following four fields:

     Statement label field           Columns 1-5
     Continuation indicator field    Column 6
     Statement field                 Columns 7-72 (if you specify
                                       /EXTEND_SOURCE or
                                       OPTIONS/EXTEND_SOURCE,
                                       statements extend to
                                       column 132)
     Sequence number field           Columns 73-80

  There are two ways to code a Fortran line:  standard formatting and
  tab formatting.  You may prefer to use standard formatting when
  program portability to other systems is necessary.  The tab
  formatting method is convenient when you are entering lines at a
  terminal with a text editor.

  1 - Standard

  A Fortran line is divided into fields for the required information.
  Each column represents a single character.

   COLUMN    FIELD
   ------    -----
       1     Indicator: Comment(C,c,*,!,blank) or Debug(D,d)
     1-5     Label (any decimal integer except zero)
       6     Indicator: Continuation of statement (any character
                   except zero or space)
    7-72     Statement Field (up to column 72)
   73-80     Sequence Number (optionally to column 132 -- ignored)

  2 - Tab

  A Fortran line is divided into fields for the required information.
  Each column represents a single character.  You cannot specify a
  sequence number field using this method of coding.

   COLUMN   FIELD
   ------   -----
   (before tab)
     1      Indicator: Comment(C,c,*,!,blank) or Debug(D,d)
   1-5      Label (any decimal integer except zero)
   (after first tab)
     6      Indicator: Continuation of statement (any digit 1-9)
   (after second tab)
            Statement Field (up to column 72)

  Tabs are treated as single characters.
  Close     HLB-list     TLB-list     Help  

[legal] [privacy] [GNU] [policy] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.