title: What is the correct way to initialize a parameter array in fortran?
body: <p>This works just fine:</p>
  
  <pre><code>  program main
      integer,parameter,dimension(3) :: x = [1,2,3]
      print*,x
    end program main
  </code></pre>
  
  <p>As does this:</p>
  
  <pre><code>  program main
      integer,parameter,dimension(3) :: x = (/1,2,3/)
      print*,x
    end program main
  </code></pre>
  
  <p>Is there a reason to think that one form should be preferred over the other (e.g. backward compatibility)?</p>