9.262. TRANSFER
9.262 TRANSFER — Transfer bit patterns
- Description:
- Interprets the bitwise representation of SOURCE in memory as if it is the representation of a variable or array of the same type and type parameters as MOLD.
This is approximately equivalent to the C concept of casting one type to another.
- Standard:
- Fortran 95 and later
- Class:
- Transformational function
- Syntax:
-
RESULT = TRANSFER(SOURCE, MOLD[, SIZE])
- Arguments:
-
SOURCE Shall be a scalar or an array of any type. MOLD Shall be a scalar or an array of any type. SIZE (Optional) shall be a scalar of type INT