[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Lexical scope definition
- From: ramsdell@... (John D. Ramsdell)
- Date: 30 Aug 2001 08:09:35 -0400
Jonathan,
Thank you for finding many references that support my notion of
lexical scoping. Thank you also for finding the particular definition
I was looking for. Notice that by this definition, Lua is not
statically scoped.
John
"Jonathan Branam" <sspeare@sspeare.com> writes:
> http://ase.isu.edu/ase01_07/ase01_07/bookcase/ref_sh/foldoc/14/62.htm
> 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.