rspec/rules/S1650/rule.adoc
Arseniy Zaostrovnykh 7ca29f686f Force linebreaks
2021-02-02 15:02:10 +01:00

20 lines
427 B
Plaintext

Appending '$' to any identifier forces it to the String data type, but this usage is obsolete and should only appear when differentiating string-specific functions from variant functions, such as ``++Left$()++`` versus ``++Left()++``.
Instead, Strings should be explicitly declared with the String datatype.
== Noncompliant Code Example
----
Dim Text$ As String
----
== Compliant Solution
----
Dim Text As String
----