Previous: 2.2.6.17. Structured Types Alignment (packed modifier) To the Table of Contents Next: 2.2.7. Declarations
2.2.6.17. Structured Types Alignment (packed modifier) Table of Contents 2.2.7. Declarations

- 2.2.6.18. -
Table of Contents
2. TMT Pascal Language Description
2.2. Pascal Language Structure
2.2.6. Types
2.2.6.18. Type Compatibility


2.2.6.18. Type Compatibility


There are three levels of type compatibility. Each level along with its restrictions is listed below in order, from the most restrictive to the least restrictive.

Equivalent Types.
Two types are equivalent only if they are both defined from the same type declaration. That declaration must be one if the following: Compatible Types
Two types are compatible if one of the following apply: Assignable Types
A type is assignable to another type if one of the following apply:


Previous: 2.2.6.17. Structured Types Alignment (packed modifier) To the Table of Contents Next: 2.2.7. Declarations
2.2.6.17. Structured Types Alignment (packed modifier) Table of Contents 2.2.7. Declarations

- 2.2.6.18. -