HP Fortran Programmer's Reference (September 2007)

Arrays
Array sections
Chapter 368
Array sections
An array section is a selected portion of another array (the parent) that is itself an array,
even if it consists of only one element, or possibly none. An array section can appear wherever
an array name is allowed.
The syntax for specifying an array section is:
array-name
(
section-subscript-list
)[ (
substring-range
) ]
where:
section-subscript-list
is a comma-separated list of
section-subscript.
section-subscript
is one of:
subscript
subscript-triplet
vector-subscript
subscript
is a scalar integer expression.
subscript-triplet
takes the form:
[
subscript
]:[
subscript
][:
stride
]
where
stride
is a scalar integer expression.
vector-subscript
is a rank-one integer array expression.
substring-range
specifies a character substring, as described in “Character substrings” on
page 120. If
substring-range
is specified,
array-name
must be of type
character.