VB025
While...Wend loop
Visual Basic 6
Info
VB6
While
While...Wend has no Exit statement, so leaving early means a GoTo; Do While...Loop reads the same and supports Exit Do.
Why this severity
While...Wend has no Exit statement, so leaving early means a GoTo; Do While...Loop reads the same and supports Exit Do.
Known false positives
none expected.
Remediation example
Do While Not done
If abort Then Exit Do
Loop