Working with composite types

You create composite types, and define their list of attributes.

A composite data type is composed of a name and a list of attributes that describe the characteristics of an object. It lets you regroup related data under one entity. In the following example, you see a composite type called customer with its associated attributes:
Composite type customer with its associated attributes name, address, date of birth, and customer category

Attributes can be built-in data types or other custom data types.

Attributes can also be identified as a list. You use lists when your decision acts on more than one item of something, and you need to make a distinction between the items. For example, if your decision is about checking in baggage on a plane, you can identify baggage as a list, since more than one of piece of baggage may be checked in.