Inspection Details

DefTypeStatement


Summary
Warns about Def[Type] statements.
Reasoning
These declarative statements make the first letter of identifiers determine the data type.
The following code example(s) would trigger this inspection:

DefBool B
DefDbl D
Public Sub DoSomething()
    Dim bar ' implicit Boolean
    ' ...
End Sub


Back to List