Statistics
| Branch: | Revision:

root / synthbench / euroben-dm / mod1j / check.f @ 0:839f52ef7657

History | View | Annotate | Download (629 Bytes)

1
      Subroutine check( a, n, ok )
2
! ----------------------------------------------------------------------
3
! --- Check values for progam 'mod1j': a(i) = i should hold for all
4
!     elements of integer array a.
5
! ----------------------------------------------------------------------
6
      Implicit   None
7

    
8
      Integer :: n
9
      Integer :: a(n)
10
      Logical :: ok
11

    
12
      Integer :: i
13
! ----------------------------------------------------------------------
14
      Do i = 1, n
15
         ok = ok .AND. ( a(i) == i )
16
      End Do
17
! ----------------------------------------------------------------------
18
      End Subroutine check