深入方法(4)- 相同类型参数的简化写法

//要点4: 多个相同类型的参数可以简化写法
function MyFun(str: string; x,y,z: Integer): string;
begin
  Result := str + IntToStr(x + y + z);
end;

 

posted @ 2020-04-19 18:37  范思哲  阅读(210)  评论(0编辑  收藏  举报