next up previous contents
Next: High Performance Fortran Up: Intrinsics Previous: UNPACK Intrinsic

TRANSFER Intrinsic

TRANSFER converts (not coerces) physical representation between data types; it is a retyping facility. Syntax:

 
TRANSFER(SOURCE,MOLD)

    REAL A(10), AA(10)
    INTEGER B(20)
    COMPLEX C(5)
     ...
    A  = TRANSFER(B, (/ 0.0 /))
    AA = TRANSFER(B, 0.0)
    C  = TRANSFER(B, (/ (0.0,0.0) /))
     ...

tex2html_wrap44859

For more information, click here gif


next up previous contents
Next: High Performance Fortran Up: Intrinsics Previous: UNPACK Intrinsic

Adam Marshall ©University of Liverpool, 1996
Fri Dec 6 18:56:08 GMT 1996
Not for commercial use.