A ParamArray cannot have a Default Value
From Xojo Documentation
Error message
When you declared a parameter using the ParamArray keyword, you gave it a default value. This is not valid.
Sample Code
The following method declaration is not valid:
Sub AddNumbers(ParamArray Nums As Integer =10)
You must remove the assignment statement at the end of the declaration.
See Also
ParamArray keyword.