In computer programming, scope is an enclosing context where values and expressions are associated. Various programming languages have various types of scopes. The type of scope determines what kind of entities it can contain and how it affects them -- or semantics. Scopes can:contain declarations or definitions of identifiers;contain statements and/or expressions which define an executable algorithm or part thereof;nest or be nested.
See more at Wikipedia.org...