The ParamArray Parameter should have an Array Type without Specified Size

Description

A static array of the specified size is indicated as a parameter array in the method description.

Troubleshooting Tips

A dynamic array should be used as a parameter array. Delete the indication of the array dimension.

Example

Sub UserProc(Paramarray c: Array[0..10Of 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:

Compiler Messages