Next: Argument Intent
Up: Program Units
Previous: Argument Association
In the following procedure
SUBROUTINE Madras(i,j)
INTEGER, INTENT(IN) :: i, j
REAL :: a
REAL, DIMENSION(i,j):: x
a, and x are know as local objects. They:
- are created each time a procedure is invoked,
- are destroyed when the procedure completes,
- do not retain their values between calls,
- do not exist in the programs memory between calls.
x will probably have a different size and shape on each call.
The space usually comes from the programs stack.
For more information, click here
Next: Argument Intent
Up: Program Units
Previous: Argument Association
©University of Liverpool, 1997
Wed May 28 23:37:18 BST 1997Not for commercial use.