Do you know what your variables are really referring to?
Using ByVal and ByRef properly is a critical part of managing your variables.
It doesn’t always seem so, but the String type really is a reference type.
Setting Option Strict to On in your projects can save a lot of time and trouble in tracking down strange errors.
Not really a trap, but a method that is subject to a lot of misunderstanding, and which requires caution in its use.