Only the Last Parameter may use the Assigns Option

From Xojo Documentation

Error message

You used the Assigns keyword with any parameter other than the last parameter. The Assigns keyword can only be used for one parameter and it must be the last parameter.


Examples

The following method declaration uses the Assigns keyword for the first parameter.

Sub myMethod(Assigns a As Integer, b As Integer)


See Also

Assigns keyword