-
Notifications
You must be signed in to change notification settings - Fork 301
ObsoleteLetStatementInspection
Max Dörner edited this page Jun 2, 2019
·
3 revisions
Description: Use of obsolete Let statement
Type: CodeInspectionType.LanguageOpportunities
Default severity: CodeInspectionSeverity.Warning
This inspection finds assignments made using the obsolete Let
keyword.
Parameter foo
is assigned using the obsolete Let
keyword.
Dim foo As Integer
Let foo = 42
In older version of the language, the Let
keyword was required for value assignments. It can safely be omitted.
QuickFix: Remove obsolete statement
Dim foo As Integer
foo = 42
This quickfix simply removes the superfluous Let
keyword.
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