-
Notifications
You must be signed in to change notification settings - Fork 302
ObsoleteCallStatementInspection
Max Dörner edited this page Jun 2, 2019
·
4 revisions
Description: Use of obsolete Call statement
Type: CodeInspectionType.LanguageOpportunities
Default severity: CodeInspectionSeverity.Warning
This inspection finds procedure calls made using the obsolete Call
keyword.
Call to procedure DoSomething
is using an obsolete language syntax:
Call DoSomething(42)
The Call
keyword exists in modern-day VBA only for backward compatibility. New code shouldn't be using this keyword.
QuickFix: Remove obsolete statement
DoSomething 42
The quickfix removes the Call
keyword and parentheses around the list of arguments.
rubberduckvba.com
© 2014-2021 Rubberduck project contributors
- Contributing
- Build process
- Version bump
- Architecture Overview
- IoC Container
- Parser State
- The Parsing Process
- How to view parse tree
- UI Design Guidelines
- Strategies for managing COM object lifetime and release
- COM Registration
- Internal Codebase Analysis
- Projects & Workflow
- Adding other Host Applications
- Inspections XML-Doc
-
VBE Events