A static array of the specified size is indicated as a parameter array in the method description.
A dynamic array should be used as a parameter array. Delete the indication of the array dimension.
Sub UserProc(Paramarray c: Array[0..10] Of Double);
Begin
End Sub UserProc;
When the specified code is compiled, the following error is displayed: The ParamArray parameter should have an array type without specified size. To resolve the error, delete the array dimension [0..10] from the description.
See also: