//要点6: Result 可以参与运算, "函数名"不可以
function MyFun(x,y: Integer): Integer;
begin
  Result := x + y;
  Result := Result * 2;
end;

相关文章:

  • 2022-12-23
  • 2021-10-12
  • 2022-12-23
  • 2021-12-25
  • 2022-02-15
猜你喜欢
  • 2022-02-20
  • 2021-11-20
  • 2022-12-23
  • 2021-07-24
相关资源
相似解决方案