Skip to main content

Reading in Data

  • Chapter
  • First Online:
Introduction to Programming with Fortran
  • 7457 Accesses

Abstract

The aims of this chapter are to introduce some of the ideas involved in reading data into a program. In particular, using the following: Reading from fixed fields. Integers, reals and characters. Blanks – nulls or zero? read – extensions. error handling on input. open – associating unit numbers and file names.close rewind backspace

Winnie-the-Pooh read the two notices very carefully,

first from left to right, and afterwards,

in case he had missed some of it, from right to left.

A A Milne, Winnie-the-Pooh

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

Access this chapter

Institutional subscriptions

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2012 Springer-Verlag London Limited

About this chapter

Cite this chapter

Chivers, I., Sleightholme, J. (2012). Reading in Data. In: Introduction to Programming with Fortran. Springer, London. https://doi.org/10.1007/978-0-85729-233-9_10

Download citation

  • DOI: https://doi.org/10.1007/978-0-85729-233-9_10

  • Published:

  • Publisher Name: Springer, London

  • Print ISBN: 978-0-85729-232-2

  • Online ISBN: 978-0-85729-233-9

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics