Skip to main content

Elementary Structured Types 2—the Array

  • Chapter
A Practical Introduction to Pascal

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

  • 18 Accesses

Abstract

The array data type will be introduced by contrasting it with the sequential file. The array data type is like the sequential file type in that in each case their components must all be of the same type. Unlike a sequential file, however, an array has a fixed number of components which are all equally accessible. Consequently the components of an array may be accessed randomly. In particular, to alter the value of an array variable it is not necessary to produce a complete, new value for the array since the appropriate components may be selectively updated.

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 I. R. Wilson and A. M. Addyman

About this chapter

Cite this chapter

Wilson, I.R., Addyman, A.M. (1978). Elementary Structured Types 2—the Array. In: A Practical Introduction to Pascal. Macmillan Computer Science Series. Palgrave, London. https://doi.org/10.1007/978-1-349-03709-4_10

Download citation

  • DOI: https://doi.org/10.1007/978-1-349-03709-4_10

  • Publisher Name: Palgrave, London

  • Print ISBN: 978-0-333-23582-9

  • Online ISBN: 978-1-349-03709-4

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics