Conversion Rules for Structures
- Deep structures can only be assigned to each other if they are compatible. Full compatibility is not required for the following deep components, to which the specified requirements apply:
- For table-like components, it is sufficient if the row type is compatible. This means that the full compatibility needed for table categories and table keys is not required here.
- For flat structures, there are conversion rules for the following assignments between incompatible data objects:
- If substring access is performed on a structure and the substring is shorter than the structure, the substring is handled like an operand of type c and the corresponding conversion rules apply. If the substring is exactly the same length as the structure, the substring is handled like the structure itself.
- A lossless assignment can be used to apply the same assignment rule to flat structures as to deep structures.
- The conversion rules for structures are designed to prevent handleable exceptions from being raised. If a conversion is allowed, it takes place.