Composite Types: Record and Dictionary Types
Learn about the record and dictionary types.
We'll cover the following...
Composite types
Sometimes, we want to store values that are related in another way—let’s say information about a person. For this, we can use what is called a record.
The record type
If we’re writing an application and we want to represent information about customers, we’ll first need to decide what information we want to handle. This might be the customer’s first and last name, a street address, a city, a ZIP code, and so on. This might include data of different types. It would also be handy if we could retrieve the different items with the help of a name.
Records are sometimes ...