Array Expressions
◄Up► ◄Contents► ◄Index► ◄Back►
─────Array Expressions──────────────────────────────────────────────────────
The compiler permits operations on full arrays that would
normally only work with single arguments (scalars). All
operations that are permitted for scalars are permitted for
arrays.
When two or more array operands appear in an assignment statement
or expression, they all must conform (have the same number of
dimensions), and corresponding dimensions must be the same size
and have the same upper and lower boundaries. Note that a scalar
quantity conforms to any array.
Adjustable and allocatable arrays cannot appear in array
expressions.
All intrinsic functions that take scalar arguments may also take
array arguments. To pass array arguments to external functions
that take scalar arguments, declare the external function in an
INTERFACE TO statement. None of the function's formal arguments
can be arrays.
-♦-