//要点6: Result 可以参与运算, "函数名"不可以 function MyFun(x,y: Integer): Integer; begin Result := x + y; Result := Result * 2; end;
上一条:理解 Delphi 的类(十) - 深入方法[5] - Result 与函数名
下一条:理解 Delphi 的类(十) - 深入方法[7] - Result