Next: Local Variables
Up: Erroneous Code
Previous: Erroneous Code
There are a number of mistakes:
- A is INTENT IN so should not be assigned to.
- C is INTENT OUT which means that on entry to the subroutine
it has no defined value -- its value must be set before it appears on
the RHS of an assignment statement.
- B is not declared -- the IMPLICIT NONE statement means
that all objects must be declared.
Next: Local Variables
Up: Erroneous Code
Previous: Erroneous Code
©University of Liverpool, 1997
Thu May 29 10:11:26 BST 1997Not for commercial use.