title: Fortran: Pointer to an array which index start at 0
body: <p>Here is my problem:</p>
  
  <p>I declare a 3D array in a module and I allocate it with the first index starting from 0:</p>
  
  <pre><code>REAL*8, POINTER :: QALC(:,:,:)
  ALLOCATE(QALC(0:N+1,NR+1,NLVL))
  </code></pre>
  
  <p>I have also a pointer which I want to point to the above array:</p>
  
  <pre><code>REAL*8, POINTER :: Q(:,:)
  Q=&gt;QALC(0:N+1,1:NR+1,L)
  </code></pre>
  
  <p>where L is an integer. The above code works but unfortunately the index of Q starts from 1 and not from 0! Is any way to make Q first index be 0?</p>
  
  <p>Many thanks,
  ilias</p>