Abstract
All identifiers used in a Pascal program must be defined or declared at the beginning of the BLOCK. The order of definition/declaration (L,C,T,V,S) is very important; syntax diagrams for these are given in Appendix A. All identifiers used in a program must be declared. The const definition is used for parameters that do not change their value throughout the execution of the program. The var declaration can be any one of the data type: real,integer, boolean or char (short for character). In addition to these four simple types of variables, Pascal allows more complex variable types known as ‘structured’ data types. These include array record, set and file and are described in Chapter 6.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 1988 J. Attikiouzel
About this chapter
Cite this chapter
Attikiouzel, J. (1988). Scalar Data Type: Constant, Integer, Real. Input — Output. In: Pascal for Electronic Engineers. Tutorial Guides in Electronic Engineering, vol 3. Springer, Dordrecht. https://doi.org/10.1007/978-94-011-6525-9_2
Download citation
DOI: https://doi.org/10.1007/978-94-011-6525-9_2
Publisher Name: Springer, Dordrecht
Print ISBN: 978-0-412-37590-3
Online ISBN: 978-94-011-6525-9
eBook Packages: Springer Book Archive