title: Why do I get "E2026 Constant expression expected"?
body: <p>I have to move a file in the system32 folder, I used this code:</p>
  
  <pre><code>//-----------FUNCTION----------------
  function GetWindowsSystemDir(): String;
  var
    vlBuff: Array[0..MAX_PATH-1] of Char;
  begin
    getSystemDirectory(vlBuff, MAX_PATH);
    Result := vlBuff;
  end;
  //-----------------------------------
  
  const
    SMyFile = GetWindowsSystemDir+'\intructions.txt'; //error here, line 87
  var
    S: TStringList;
  begin
    S := TStringList.Create;
    try
      S.Add('intructions');
      S.SaveToFile(SMyFile);
    finally
      S.Free;
    end;
  end;
  </code></pre>
  
  <p>gives me error when compiling:</p>
  
  <pre><code>[DCC Error] Unit1.pas(87): E2026 Constant expression expected
  </code></pre>
  
  <p>Thanks.</p>