In-depth method (4)-simplified writing of the same type of parameters

// Point 4: Multiple parameters of the same type can simplify the writing 
function MyFun (str: string ; x, y, z: Integer): string ;
 begin 
  Result: = str + IntToStr (x + y + z);
 end ;

 

Guess you like

Origin www.cnblogs.com/fansizhe/p/12729678.html