Skip to main content

Part of the book series: Macmillan Master Series ((MACMMA))

  • 35 Accesses

Abstract

An array is a data structure which, like a file, is composed of elements all of the same type. However, there are two important differences. First, whereas the number of components in a file is indeterminate and can change during the running of a program, the number of components in an array is predetermined and unalterable. Secondly, all the elements of an array are accessible at all times during the execution of the program, unlike a file whose elements, as we have seen, can be accessed only sequentially.

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.

Authors

Copyright information

© 1983 Eric Huggins

About this chapter

Cite this chapter

Huggins, E. (1983). Arrays. In: Mastering Pascal Programming. Macmillan Master Series. Palgrave, London. https://doi.org/10.1007/978-1-349-17182-8_9

Download citation

  • DOI: https://doi.org/10.1007/978-1-349-17182-8_9

  • Publisher Name: Palgrave, London

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

  • Online ISBN: 978-1-349-17182-8

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics