如何将整型数组转换为字符串?

解决方案 »

  1.   

    var
     i:integer;
     s:string;
    begin
      i:=100;
      s:=IntToStr(i);
      showmessage(s);
      s:=FormatFloat('0000',i);
      showmessage(s);
    end;
      

  2.   

    是这样的,我想把一个整型的数组内容在Memo组件中显示出来。而Memo.text为String型,该怎么做?
      

  3.   

    a是个整型的数组:for i:= Low(a) to High(a)
         tempString := tempString + IntToStr(a[i]) + #13 + #10;memo.text := tempString;