Terug naar de homepage van Forcheck
Forcheck compares argument lists


       1 c
       2 c                      FORCHECK
       3 c           Local verification of actual arguments
       4 c
       5       INTEGER iar(10)
       6
       7       CALL sub1(i, j)
       8       CALL sub1(i)

(file: localarg.for, line: 8)
  SUB1
**[563 E] number of arguments inconsistent with first occurrence

       9       CALL sub1(r, 1)

(file: localarg.for, line: 9)
  SUB1, dummy argument no   1
**[577 E] argument type inconsistent with first occurrence (int/real)

      10
      11       CALL sub2(iar)
      12       CALL sub2(i)

(file: localarg.for, line: 12)
  SUB2, dummy argument no   1
**[590 E] array versus scalar conflict

      13       CALL sub2(1)

(file: localarg.for, line: 13)
  SUB2, dummy argument no   1
**[590 E] array versus scalar conflict

      14
      15       END

previous page top page
Forcheck
Contact