Winterbay
Active member
I managed, by mistake, to define a variable twice in one script. Once in the global namespace and once in a function.
So in the name of learning something I wonder: Which of these two take precedence within the function that it is defined for the second time? The local copy or the global copy?
(I have since removed the local version)
So in the name of learning something I wonder: Which of these two take precedence within the function that it is defined for the second time? The local copy or the global copy?
(I have since removed the local version)