Abstract
There appear to be three dominant strategies for handling the input and output of data in programming languages:
-
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.
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.
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.
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
© 1983 Springer-Verlag New York Inc.
About this chapter
Cite this chapter
Ledgard, H. (1983). Input and Output. In: ADA®. Springer, New York, NY. https://doi.org/10.1007/978-1-4612-5513-0_8
Download citation
DOI: https://doi.org/10.1007/978-1-4612-5513-0_8
Publisher Name: Springer, New York, NY
Print ISBN: 978-0-387-90814-4
Online ISBN: 978-1-4612-5513-0
eBook Packages: Springer Book Archive