Skip to main content

Scalar Data Type: Constant, Integer, Real. Input — Output

  • Chapter
Book cover Pascal for Electronic Engineers

Part of the book series: Tutorial Guides in Electronic Engineering ((TGEE,volume 3))

  • 66 Accesses

Abstract

All identifiers used in a Pascal program must be defined or declared at the begin­ning 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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints 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

Publish with us

Policies and ethics