rspec/rules/S1650/rule.adoc

20 lines
427 B
Plaintext
Raw Normal View History

2021-01-27 13:42:22 +01:00
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()++``.
2020-06-30 12:47:33 +02:00
2021-02-02 15:02:10 +01:00
2020-06-30 12:47:33 +02:00
Instead, Strings should be explicitly declared with the String datatype.
== Noncompliant Code Example
----
Dim Text$ As String
----
== Compliant Solution
----
Dim Text As String
----