VMS Help
FORTRAN, Data, Variables, Specification

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

  Type declaration statements explicitly define the data type of
  variables.

  Numeric type declaration statements have the form:

     type v[/clist][,v[/clist]]...

  type   Is any data type except CHARACTER.

  v      Is the name of a constant, variable, array, statement
         function or function subprogram, or array declarator.

  clist  Is a list of constants.

  Character type declaration statements have the form:

     CHARACTER[*len[,]] v[*len] [/clist/] [,v[*len] [/clist/]]...

  len    Is an unsigned integer constant, an integer constant
         expression enclosed in parentheses, or an asterisk
         enclosed in parentheses.

         The value of len specifies the length of the character
         data elements.

  v      Is the symbolic name of a constant, variable, array,
         statement or function subprogram, or array declarator.

         The name can optionally be followed by a data type
         length specifier (*n).  For character entities, the length
         specifier can be *len or *(*).

  clist  Is an initial value or values to be assigned to the
         immediately preceding variable or array element.
  Close     HLB-list     TLB-list     Help  

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