Skip to main content

Arrays and Iterations

  • Chapter
Fortran, PL/I and the Algols

Part of the book series: Macmillan Computer Science Series ((COMPSS))

  • 33 Accesses

Abstract

In Algol 68 arrays are called ‘multiple values’. The most straightforward way of creating a multiple value is to use a ‘row display’. An example of a row display is

which is a collateral clause all of whose components are of mode int. Collateral clauses have various uses, but when treated as a row display the mode of the above clause is ‘row of int’, otherwise written [ ] int. This, then, introduces ‘rowing’ as a means of developing further modes from the primitive modes. It should be noted that the term ‘rowing’ is applied both to the explicit process of creating a new mode by making a ‘row’, that is, array, of another mode, and to the coercion which in certain circumstances performs the equivalent mode conversion automatically. For the moment it is the explicit creation of rowed modes which we are considering; the coercion equivalent to it will appear later.

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

Access this chapter

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Author information

Authors and Affiliations

Authors

Copyright information

© 1978 Brian Meek

About this chapter

Cite this chapter

Meek, B. (1978). Arrays and Iterations. In: Fortran, PL/I and the Algols. Macmillan Computer Science Series. Palgrave, London. https://doi.org/10.1007/978-1-349-04052-0_18

Download citation

  • DOI: https://doi.org/10.1007/978-1-349-04052-0_18

  • Publisher Name: Palgrave, London

  • Print ISBN: 978-1-349-04054-4

  • Online ISBN: 978-1-349-04052-0

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics