Delen via


Method arguments must be enclosed in parentheses

The rules governing procedure calls are simpler in newer versions of Visual Basic. All arguments must be enclosed by parentheses.

Error ID: BC30800

To correct this error

  • Enclose the argument list in parentheses; for example:

    MySub(ArrayIndex, NewValue)
    

See Also

Concepts

Procedure Calling Sequence for Visual Basic 6.0 Users

Procedure Parameters and Arguments