rspec/rules/S1657/vb6/comments-and-links.adoc

30 lines
382 B
Plaintext

=== on 9 Apr 2014, 13:45:38 Pierre-Yves Nicolas wrote:
Would the following examples make more sense?
Noncompliant:
----
Option Explicit
Option Base 1
'...
Dim MyArray(3) As Integer
For I = 1 To 3
MsgBox MyArray(I)
Next I
----
Compliant:
----
Option Explicit
'...
Dim MyArray(2) As Integer
For I = 0 To 2
MsgBox MyArray(I)
Next I
----