next up previous contents
Next: Solution Up: Procedures Previous: Solution

 

Erroneous Code

What is wrong with the following internal procedure?

    SUBROUTINE Mistaken(A,B,C)
     IMPLICIT NONE
     REAL, INTENT(IN) :: A
     REAL, INTENT(OUT) :: C
     A = 2*C
    END SUBROUTINE Mistaken

Go back to Notes gif




next up previous contents
Next: Solution Up: Procedures Previous: Solution

©University of Liverpool, 1997
Thu May 29 10:11:26 BST 1997
Not for commercial use.