title: How to set multiple array fields at once without using a for loop in pascal?
body: <p>I am learning Pascal and currently stuck with a problem concerning array manipulation. I have come across a method of setting arrays, that I have seen in other languges, but I do not know how to do something similar in Pascal. </p>
  
  <p>The declaration of the variable looks something like this:</p>
  
  <pre><code>rotationBounds: array of array of integer;
  setLength(rotationBounds, 5, 5);
  </code></pre>
  
  <p>And I want to do something like this:</p>
  
  <pre><code> rotationBounds :=
           [
            [0, 0, 0, 0, 0],
            [0, 1, 1, 0, 0],
            [0, 0, 1, 0, 0],
            [0, 0, 1, 1, 0],
            [0, 0, 0, 0, 0],
           ]; 
  </code></pre>
  
  <p>Basically, I am trying to set a multi-dimentional array directly, rather than looping through it.</p>
  
  <p>One of my focuses is to make it look like a picture, easy to read and understand.</p>
  
  <p>Is there a way I could achieve something like this?</p>
  
  <p>I am using Borland Delphi 6 to compiler the progam.</p>