Type conversion is the process of converting an operand of one type into an operand of another type, and is usually done to convert one operand to the same type as another operand, before performing an operation involving both operands. For example, if a value of integer type is to be added to a value of real type, then the value of integer type is first converted to a value of real type before the addition takes place.
Irie Pascal automatically performs type conversions on the operands of expressions where necessary, by applying one of the following rules: