Skip to main content

Arrays 2: Further Examples

  • Chapter
  • First Online:
Introduction to Programming with Fortran
  • 118k Accesses

Abstract

The aims of the chapter are to extend the concepts introduced in the previous chapter and in particular:

  • To set an array size at run time - allocatable arrays.

  • To introduce the idea of an array with more than one dimension and the corresponding control structure to permit easy manipulation of higher-dimensioned arrays.

  • To introduce an extended form of the dimension attribute declaration, and the corresponding alternative form to the do statement, to manipulate the array in this new form.

  • To introduce the do loop as a mechanism for the control of repetition in general, not just for manipulating arrays.

  • To formally define the block do syntax.

Sir, In your otherwise beautiful poem (The Vision of Sin) there is a verse which reads Every moment dies a man, every moment one is born. Obviously this cannot be true and I suggest that in the next edition you have it read Every moment dies a man, every moment 1 1/16 is born. Even this value is slightly in error but should be sufficiently accurate for poetry.

Charles Babbage in a letter to Lord Tennyson

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

Access this chapter

eBook
USD 16.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 99.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 159.99
Price excludes VAT (USA)
  • Durable hardcover 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

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Ian Chivers .

Rights and permissions

Reprints and permissions

Copyright information

© 2018 Springer International Publishing AG, part of Springer Nature

About this chapter

Check for updates. Verify currency and authenticity via CrossMark

Cite this chapter

Chivers, I., Sleightholme, J. (2018). Arrays 2: Further Examples. In: Introduction to Programming with Fortran. Springer, Cham. https://doi.org/10.1007/978-3-319-75502-1_7

Download citation

  • DOI: https://doi.org/10.1007/978-3-319-75502-1_7

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-319-75501-4

  • Online ISBN: 978-3-319-75502-1

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics