VMS Help
FORTRAN, Statements

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

  Statements in a Fortran program unit follow a required order.  In
  the following figure, vertical lines separate statement types that
  can be interspersed.  For example, DATA statements can be
  interspersed with executable statements.  Horizontal lines indicate
  statement types that cannot be interspersed.  For example, type
  declaration statements cannot be interspersed with executable
  statements.

  +-------+--------------------------------------------------------+
  |       |              OPTIONS Statement                         |
  |       |--------------------------------------------------------|
  |       |PROGRAM, FUNCTION, SUBROUTINE, or BLOCK DATA Statements |
  |       |--------+-----------------------------------------------|
  |COMMENT|         |  IMPLICIT NONE Statement                     |
  | Lines,|         |-------------------------------+--------------|
  |INCLUDE|NAMELIST,|  IMPLICIT Statements          |              |
  | State-| FORMAT, |------+------------------------|  PARAMETER   |
  | ments,|   &     |      |  Other Specification   |  Statements  |
  |& Gen- | ENTRY   | DATA |      Statements,       |              |
  |  eral | State-  |State-|  DICTIONARY Statements |              |
  |Direc- |  ments  | ments|------------------------+--------------|
  | tives |         |      |   Statement Function Definitions      |
  |       |         |      |---------------------------------------|
  |       |         |      |       Executable Statements           |
  |-------+---------+------+---------------------------------------|
  |                     END Statement                              |
  +----------------------------------------------------------------+

  Additional Information (explode) :

  Close     HLB-list     TLB-list     Help  

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