举例:
var
  s: string;
begin
  s := StringOfChar('G', 5);
  ShowMessage(s);  {GGGGG}
end;

var s: string; begin s := StringOfChar(#65, 5); ShowMessage(s); {AAAAA} end;
var s: string; begin s := StringOfChar(#19975, 5); ShowMessage(s); {万万万万万} end;
System 单元下的公用函数目录

posted on 2008-03-29 22:23  万一  阅读(4286)  评论(3编辑  收藏  举报