What is lexical scoping (static scoping)? Lexical scoping, also known as static scoping, is a convention used with many modern programming languages. It refers to setting the scope, or range of ...