Ok let me clarify further... the matter is rather the "color" of the variable in the IDE.
Lets look at variable
x. Its a variant of some light blue "color"
Now if we create a sub with any variable, the variables will be some variant of white "color". For example
a here, its some color variant of "white"
Now lets create a sub and define in it an "x" variable. Now because this variable is global already and in a way "conflicts" with an existing variable definition, the color is blueish like.
At times noticing such "already defined globally" variables is tricky due to the "color" and one wants to improve their coding. How can the "already defined variables" rather show with a "red color" for example by the IDE.
Thanks.