title: How to pass array of string into a FastReport variable?
body: <p>My plan is to pass an array of string into a FastReport</p>
  
  <p>Here's my code (stripped from all irrelevant parts and error handling):</p>
  
  <pre><code>var
    elements: TStringArray; // TStringArray = array of string;
  begin
    FR := TfrxReport.Create(Self);
    FR.LoadFromFile(...);
    FR.Variables['dataArray'] := elements; // &lt;-- Error here
    FR.ShowReport;
    FR.Free;
  end;
  </code></pre>
  
  <p>But I get the error, indicating that I can not assign an array to a string that way:</p>
  
  <blockquote>
    <p>Could not convert variant of type (array OleStr) into type String</p>
  </blockquote>
  
  <p>However if I assign <code>'['a', 'b', 'c', 'd', 'e', 'f']'</code> to a <code>dataArray</code> variable <em>within</em> FastReport editor it works just fine - I can access <code>dataArray[1]</code> and etc.</p>
  
  <p>So my question is - How to properly assign a variable of type <code>array of string</code> to FastReport variable?</p>