lexical scoping

Part of the TechTarget Network of Enterprise IT Web Sites

Search our IT-specific encyclopedia for:
 
Browse alphabetically:
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z #
All Categories Programming

lexical scoping

Lexical scoping (sometimes known as static scoping ) is a convention used with many programming languages that sets the scope (range of functionality) of a variable so that it may only be called (referenced) from within the block of code in which it is defined. The scope is determined when the code is compiled. A variable declared in this fashion is sometimes called a private variable.

The opposite approach is known as dynamic scoping . Dynamic scoping creates variables that can be called from outside the block of code in which they are defined. A variable declared in this fashion is sometimes called a public variable.



Read more about it at:
> The Neural Network and Signal Processing Group offers more information in its "Scope and Extent."
> The Neural Network and Signal Processing Group offers more information in its
> The LISP reference manual offers more information about variables and scope.
Last updated on: Apr 05, 2005

>  Enterprise Software related Research & News
>  White Papers for the Retail Industry

Are you a Know-IT-All?
What handy input device did Douglas Englebart invent?
Answer

word of the day Get the Word of the Day
twitter Follow us on Twitter

WORD OF THE DAY...
SAP
LEARN MORE ABOUT...
SAP trends
USA Contributors
Worldwide Contributors
Awards and Recognition
Our 60+ tech-specific sites
WhatIs.com RSS Feeds
About Us   |   Contact Us   |   For Advertisers   |   For Business Partners   |   Reprints   |   RSS   |   Awards
TechTarget provides enterprise IT professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective IT purchase decisions and managing their organizations' IT projects - with its network of technology-specific Web sites, events and magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Reprints




All Rights Reserved, Copyright 2008, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts