Skip to main content

Die Datenstruktur Array

  • Chapter
Programmieren in Modula-2

Part of the book series: Springer Compass ((SC))

  • 56 Accesses

Zusammenfassung

Bisher haben wir jeder Variablen einen individuellen Namen gegeben. Dies ist unpraktisch, wenn man viele gleich zu behandelnde Variable gleichen Typs benötigt, z.B. beim Aufbau einer Tabelle von Daten. In diesem Falle wollen wir der gesamten Datenmenge einen Namen geben und die einzelnen Elemente mit einer identifizierenden Nummer bezeichnen, einem sog. Index. Man sagt, der Datentyp sei strukturiert — genauer: array-strukturiert. Im folgenden Beispiel besteht die Variable a aus N Elementen, alle vom Typ INTEGER, und die Indizes laufen von 0 bis N - 1.

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

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 1991 Springer-Verlag Berlin Heidelberg

About this chapter

Cite this chapter

Wirth, N. (1991). Die Datenstruktur Array. In: Programmieren in Modula-2. Springer Compass. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-662-00116-5_9

Download citation

  • DOI: https://doi.org/10.1007/978-3-662-00116-5_9

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-662-00117-2

  • Online ISBN: 978-3-662-00116-5

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics