Skip to main content
Top

1983 | OriginalPaper | Chapter

Scope and Extent

Author : Ellis Horowitz

Published in: Fundamentals of Programming Languages

Publisher: Springer Berlin Heidelberg

Activate our intelligent search to find suitable subject content or patents.

search-config
loading …

Scope refers to the way in which named entities such as variables, labels, types and procedures are controlled in their ability to have an effect in a program. To be more specific, the scope of a name is that part of the program text where all uses of the name are the same. This concept should not be confused with the related but distinct concept called extent which is the time during execution that the storage used to hold a variable’s value is bound to its name. In this chapter we study both of these notions. As scope and extent have long been recognized as essential issues of programming languages, they have been discussed in many texts before. Similar and more detailed treatments can be found in [Wulf 81 and Tennent 81].

Metadata
Title
Scope and Extent
Author
Ellis Horowitz
Copyright Year
1983
Publisher
Springer Berlin Heidelberg
DOI
https://doi.org/10.1007/978-3-642-96729-0_6

Premium Partner