Top: f77 Up: 8,10 - Variables
Previous: 8,10,1 - Implication Next: 9 - Error_Messages
Section 8,10,2: Specification
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 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 The symbolic name of a constant, variable, array,
statement function 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 An initial value or values to be assigned to the
immediately preceding variable or array element.
Top: f77 Up: 8,10 - Variables
Previous: 8,10,1 - Implication Next: 9 - Error_Messages