An Assigns Parameter cannot have a Default Value

From Xojo Documentation

Error message

You specified a default value for a parameter that used the Assigns keyword. This is not valid.

Sample Code

The following method declaration is not permitted.

Sub theVolume(a As Integer, b As Integer, Assigns c As Integer=10)

You must remove the assignment statement.

See Also

Assigns keyword.