Next: , Up: Implicit Conversions   [Index]


3.13.1 Implicit Conversion For Scalar Types

Integer to real, real to integer, integer to cardinal, cardinal to integer, cardinal to real and real to cardinal implicit conversions are performed for function arguments, i.e. if the type of the subexpression making up for a function argument does not match the function argument type an automatic conversion is performed, but only if the both types belong to the cardinal, integer, real set.

No implicit conversions are performed for function arguments for which pass by reference is expected.

See Pass By Reference.

Expression for which the types of the subexpressions making up for function argument do not match the corresponding function argument types and are not subject to implicit conversions are invalid.

No implicit conversions are performed for operator arguments.

Expression for which the types of the subexpressions making up for operator argument do not match the corresponding operator argument types are invalid.