In
computer programming, a global variable is a variable that is accessible in every
scope. Interaction mechanism with global variables are called global environment (see also global state) mechanisms. The global environment paradigm is contrasted with the local environment paradigm, where all variables are local with no
shared memory (and therefore all interactions can be reconducted to
message passing).
See more at Wikipedia.org...