Skip to main content

Input and Output

  • Chapter
ADA An Introduction
  • 50 Accesses

Abstract

There appear to be three dominant strategies for handling the input and output of data in programming languages:

  1. 1.

    Format specifications: Format specifications are based upon the idea that an input or output statement has an associated format description, which specifies the layout of data values and the use of spacing. This view is used in Fortran and PL/I.

  2. 2.

    Picture specifications: With picture specifications, a declared data item has an associated picture clause describing the form that such an item would have on an input or output device. This view appears in Cobol and PL/I.

  3. 3.

    Specialized subprograms: Here the layout of data for different kinds of data items is specified in specialized subprograms. For example, we may have one subprogram to output integers, and another subprogram to output character strings. This view appears in Simula 67, Pascal, and Algol 68.

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 74.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever

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

© 1981 Springer Science+Business Media New York

About this chapter

Cite this chapter

Ledgard, H. (1981). Input and Output. In: ADA An Introduction. Springer, New York, NY. https://doi.org/10.1007/978-1-4684-0126-4_8

Download citation

  • DOI: https://doi.org/10.1007/978-1-4684-0126-4_8

  • Publisher Name: Springer, New York, NY

  • Print ISBN: 978-0-387-90568-6

  • Online ISBN: 978-1-4684-0126-4

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics