// Point 5: The return value of the function can use Result or the function name (but not recommended) function MyFun1 (x, y: Integer): Integer; begin Result: = x + y; end ; function MyFun2 (x, y: Integer): Integer; begin MyFun2: = x + y; end ;
// Point 5: The return value of the function can use Result or the function name (but not recommended) function MyFun1 (x, y: Integer): Integer; begin Result: = x + y; end ; function MyFun2 (x, y: Integer): Integer; begin MyFun2: = x + y; end ;