= Scope (logic)
{wiki=Scope_(logic)}
In logic and programming, "scope" refers to the region or context within which a particular variable, function, or symbol is accessible and can be referenced. It determines the visibility and lifetime of variables and functions in a given program or logical expression. \#\#\# Types of Scope 1. **Lexical Scope**: Also known as static scope, this is determined by the physical structure of the code. In languages with lexical scoping, a function's scope is determined by its location within the source code.
Back to article page