When a procedure or function is called using the specified parameters, the value of one or more parameters is specified more than once.
Delete duplicate values of parameters. Only one value can be specified for each parameter. Methods of calling a function specifying parameters in different ways are described in the Statements section.
Sub UserProc(a: Integer; b: String);
Begin
End Sub UserProc;
Sub Main;
Begin
UserProc(a := 3, b := "a", b := "b");
End Sub Main;
When the specified code is compiled, the string UserProc(a := 3, b := "a", b := "b"); displays the following error: The b parameter already exists in the list". The b parameter is specified twice, and this causes the error.
See also: