scope
The parts of a program in which a symbol or object exists or is visible. The location of an item’s declaration determines its scope. For example, the global scope in an Actuate Basic program holds all global variable, function, and class names. Scopes can be nested. For example, a method introduces a new scope for its parameters and local variables. A class introduces a scope for its member variables, member functions, and nested classes. Code in a method in one scope has visibility to other symbols in that same scope and, with certain exceptions, to symbols in outer scopes.
Related terms
Actuate Basic, class, declaration, function, member, method, object, parameter, variable
Contrast with
(c) Copyright Actuate Corporation 2011 |
![]() |