title: Function ‘array’ has no IMPLICIT type
body: <p>Here is my Fortran 90 code:</p>
  
  <pre><code>program test
  implicit none
  
  integer*4 nxProjPad, cf, numViews, cc, index, indRad, iv, i
  real*4 v4, v5, SS
  nxProjPad=185
  numViews=180
  v4 = 0.
  v5 = 0.
  SS = 0.
  
  cf = NINT(nxProjPad/2.)
  
  do  iv = 1, numViews
  
  do i = 1, nxProjPad
  
  v4 = v4 + array(index)
  
  v5 = v5 + array(indRad)
  SS = SS + ABS(array(index))
  
  indRad = indRad + 1
  
  index = index + 1
  
  enddo
  
  enddo
  
  
  end
  </code></pre>
  
  <p>and I always get the errors:</p>
  
  <pre><code>test.f90:19:15:
  
   v4 = v4 + array(index)
                 1
  Error: Function ‘array’ at (1) has no IMPLICIT type
  test.f90:21:15:
  
   v5 = v5 + array(indRad)
                 1
  Error: Function ‘array’ at (1) has no IMPLICIT type
  test.f90:23:14:
  
   SS = SS + ABS(array(index))
                1
  Error: Function ‘array’ at (1) has no IMPLICIT type
  </code></pre>
  
  <p>I have searched and have seen similar answers but still could not figure my problem. Any suggestion is welcome and thanks in advance!</p>