var
str1 : String;
begin
str1 = '合計' + IntToStr(goukei);
ShowMessage(str1);
end;

goukeiはきちんと数字が入っています。
コンパイルエラーになるのですがなにが悪いのでしょうか。