HP Fortran Programmer's Reference (September 2007)

Intrinsic procedures
Intrinsic procedure specifications
Chapter 11 633
Result type,
type parameters,
and shape
Scalar with the same type and kind type parameter as X.
Result value
The result has the value
b
e
min-1
where
b
and
e
min
are as defined in “The Real Number System Model” on page 509.
TRANSFER(SOURCE, MOLD, SIZE)
Optional argument
SIZE
Description
Returns a result with a physical representation identical to that of SOURCE but interpreted
with the type and type parameters of MOLD.
Class
Transformational function.
Arguments
SOURCE may be of any type and may be scalar or array valued.
MOLD may be of any type and may be scalar or array valued.
SIZE (optional) must be scalar and of type integer. The corresponding actual argument must
not be an optional dummy argument.
Result type,
type parameters,
and shape
The result is of the same type and type parameters as MOLD.
Case 1 If MOLD is a scalar and SIZE is absent, the result is a scalar.