© Andrew T. Shvets 2020
Andrew T. ShvetsBeginning Ada Programminghttps://doi.org/10.1007/978-1-4842-5428-8_5

5. Arrays, Records, and Access Types

Andrew T. Shvets
Providence, RI, USA

What You Will Get Out of This Chapter

In this chapter, more sophisticated types will be covered. Arrays, records, and access types are discussed. All are very basic data containers, and while they are different from one another, they play important roles in Ada.
Let’s say you have 500 different numbers of the same type (an Integer). You would like to either search through them in order to find the largest/smallest or find the average and so on. If you had to allocate 500 different variables for each number, you would waste time creating unwieldy code that is very ...

Get Beginning Ada Programming: From Novice to Professional now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.