VB016
Plus used for string concatenation
Visual Basic 6
Warning
VB6
+ concatenates strings until an operand is a numeric Variant or Null — then it silently adds, or yields Null
+ concatenates strings until an operand is a numeric Variant or Null — then it silently adds, or yields Null.
Why this severity
+ concatenates strings until an operand is a numeric Variant or Null — then it silently adds, or yields Null.
Known false positives
none expected; numeric addition never touches a string literal.
Remediation example
msg = "Total: " & CStr(n)