Only the Last Parameter may use the Assigns Option Error

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.

# Example

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.