Storage Classes and Scope

  • Jack Purdum


This chapter examines the various ways that data are made available to your programs. The concepts presented in this chapter are important because inadvertent access to a program’s data is a frequent source of program bugs. As a general rule, you want to restrict the access to a piece of data as much as possible. That way, inadvertent changes to the data are less likely, resulting in programs that have fewer bugs.


Source Code Error Message Function Block Data Declaration Statement Block 


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Copyright information

© Jack Purdum 2012

Authors and Affiliations

  • Jack Purdum

There are no affiliations available

Personalised recommendations