Scope




<programming> The scope of an identifier is the region of a program source within which it represents a certain thing. This usually extends from the place where it is declared to the end of the smallest enclosing block (begin/end or procedure/function body).

An inner block may contain a redeclaration of the same identifier in which case the scope of the outer declaration does not include (is "shadowed" or "occluded" by) the scope of the inner.

See also activation record, dynamic scope, lexical scope.



< Previous Terms Terms Containing scope Next Terms >
SCO
Scode
SCOOP
SCOOPS
SCOPE
activation record
A Programming Language
bound variable
Boxer
brochureware
Scorpion
Scott-closed
Scott domain
SCPI
SCPI Consortium