title: GetDateTimeString returns a string - why do I get a Type Mismatch when assigning the output to a variable?
body: <p>When attempting to compile the following code I get a "Type Mismatch" referencing the line containing GetDateTimeString.  This function is supposed to output a string (according to Inno Setup Help) and I'm attempting to assign the output to a variable of type string.... Why am I getting a Type Mismatch?</p>
  
  <pre><code>{ Compile the string for the Beveled Text label }
  function get_bev_label(Param: String) : String;
  var 
  datetime : String;
  begin
    datetime :=  GetDateTimeString ('mmmm/d/yyyy', '', '');
    result := ('Build Date ' + datetime + ' - All Rights Reserved');
  end;
  </code></pre>