This has already been covered in other posts, but this may clarify things for Wassercrats.

If you don't scope your variables, it is not immediately obvious whether:
1) You variables will have changed by calling a sub.
2) If the variables did change, whether they were changed on purpose, or accidently.