Next: ENTRY Statement
Up: Undesirable Features
Previous: Assumed Size Arrays
EQUIVALENCE is often used for retyping or aliasing and sometimes for
simulating dynamic workspace. This feature is considered to be unsafe (and
non-portable) and should not be used. Fortran 90 offers:
- the TRANSFER intrinsic for retyping,
- a POINTER variable for aliasing,
- the ALLOCATABLE attribute for temporary workspace arrays.
Next: ENTRY Statement
Up: Undesirable Features
Previous: Assumed Size Arrays
©University of Liverpool, 1997
Wed May 28 20:20:27 BST 1997Not for commercial use.