title: Can I assign items in an array all at once in Delphi/Pascal?
body: <p>I want to do something like in PHP, Python and most other programming languages:</p>
  
  <pre><code>my_array_name = [128, 38459, 438, 23674...] 
  </code></pre>
  
  <p>So I tried to replicate this in Delphi/Pascal the best I could:</p>
  
  <pre><code>HSVtoRGB := [0, 0, 0];
  </code></pre>
  
  <p>(this is for a function which returns an RGB array given HSV values.)</p>
  
  <p>But I am getting errors: </p>
  
  <pre><code>[DCC Error] Unit2.pas(44): E2001 Ordinal type required
  [DCC Error] Unit2.pas(45): E2010 Incompatible types: 'HSVRealArray' and 'Set'
  </code></pre>
  
  <p>Any idea? This is school work - but my teacher didn't know the answer.</p>