//要点3: 在调用时, 参数使用 , 分割的
function MyFun(x: Integer; y: Integer): Integer;
begin
  Result := x + y;
end;

{调用}
procedure TForm1.Button1Click(Sender: TObject);
var
  i: Integer;
begin
  i := MyFun(1,2);
end;

相关文章:

  • 2021-11-30
  • 2022-12-23
  • 2022-12-23
  • 2022-02-03
  • 2021-09-22
猜你喜欢
  • 2022-02-12
  • 2022-02-24
  • 2021-11-09
  • 2022-02-01
相关资源
相似解决方案