title: Implicit do loop array initialization
body: <p>I want to initialize an array on one line with an <em>implicit do loop</em>. However, I always get a syntax or shape error. Can anyone help me correct the following construct?</p>
  
  <pre><code>integer myarray :: (maxdim, nr)
  
  myarray(1:maxdim,nr) = (/ (/i,i=1,maxdim/),nr /)
  </code></pre>