Skip to main content

Output of Results

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

Abstract

The aims here are to introduce some of the facilities for producing neat output using edit descriptor s. There is also coverage of how to write the results to a file, rather than to the screen. There are examples which will illustrate the use of

  • The i edit descriptor for integer data

  • The f edit descriptor for real data

  • The e edit descriptor for real data

  • The g edit descriptor for real data

  • The x edit descriptor for spaces

  • The a edit descriptor for character data

  • Repetition of edit descriptor s

  • New lines

  • Output using array section s

  • Output using whole array s

  • The open, write, and close statements.

We will also provide a brief summary of the rest of the control and data edit descriptor s, as people may see them in existing code.

Why, sometimes I’ve believed as many as six impossible things before breakfast.

Lewis Carroll, Through the Looking-Glass and What Alice Found There

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 64.99
Price excludes VAT (USA)
  • Available as EPUB and 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

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Ian Chivers .

Rights and permissions

Reprints and permissions

Copyright information

© 2015 Springer International Publishing Switzerland

About this chapter

Cite this chapter

Chivers, I., Sleightholme, J. (2015). Output of Results. In: Introduction to Programming with Fortran. Springer, Cham. https://doi.org/10.1007/978-3-319-17701-4_9

Download citation

  • DOI: https://doi.org/10.1007/978-3-319-17701-4_9

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-319-17700-7

  • Online ISBN: 978-3-319-17701-4

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics