title: Arrays in subroutines, Fortran 77
body: <p>I am trying to understand the Fortran code contained in:
  <a href="http://heath.cs.illinois.edu/courses/cs598mh/george_liu.pdf" rel="nofollow">http://heath.cs.illinois.edu/courses/cs598mh/george_liu.pdf</a></p>
  
  <p>Specifically, array variable declarations in subroutines. Here is an example:</p>
  
  <pre><code>      SUBROUTINE ROOTLS (ROOT, XADJ, ADJNCY, MASK, NLVL, XLS, LS)
  C
           INTEGER ADJNCY(1), LS(1), MASK(1), XLS(1)
           INTEGER XADJ(1), I, J, JSTOP, JSTRT, LBEGIN
  </code></pre>
  
  <p>I am confused by the <code>(1)</code> after the name of the array for example <code>ADJNCY(1)</code> and <code>XADJ(1)</code>. These arrays are definitely larger than one. What does the <code>(1)</code> do in these declarations?</p>