title: Defining Arrays in Codesys
body: <p>I'm using Codesys to create an array.</p>
  
  <p>The example below is what I'm using to create an array for 5 values</p>
  
  <pre><code>ARRAY [1..5] OF INT := [1,2,3,4,5];
  </code></pre>
  
  <p>That's fine for an array of 5 but if I needed an array for 100 values?</p>
  
  <p>Is there a quicker way of doing  an array for 100 values instead of typing each value out separately as shown in the example below.</p>
  
  <pre><code>ARRAY [1..100] OF INT :=[1,2,3,4,5,6,7 to 100]
  </code></pre>