delphi - Passing parameter value to Function or Procedure with random order -
is there way in delphi pass parameter value function or procedure random order, don't have make sure order right. example: procedure insertemp(id: integer;name: string;gender: string); begin //content end then use procedure this: insertemp(1,'zemmy','male'); but if @ time change function parameter order this: procedure insertemp(id: integer;nickname:string;name: string;gender: string); begin //content end i have make position correction function following: insertemp(1,'jim','zemmy','male'); can pass parameter value without correcting order? maybe way this: insertemp(gender = 'male',nickname = 'jim',id = 1,name = 'zemmy'); thank help. having 2 or more parameters of same type, called procedure cannot determine meaning. i think answer can mix of whosrdaddy's comment lu rd's answer . using overloading record constructor, can obtain smart solution. type temployee = rec...