lexical scope

<programming> (Or "static scope") In a lexically scoped language, the scope of an identifier is fixed at compile-time to be the smallest block (begin/end or function/procedure body) containing the identifier's declaration. This means that an identifier declared in some block is only accessible within that block and from procedures declared within it.

Opposite of dynamic scope. See activation record.

(09 May 1995)