company logo

class type operation

Structure type operations are supported as assignment operations and comparison operations. Arithmetical operations and logical operations are not supported for complex data types and will return an empty value.

Assigning a complex data type to another operand is based on property names, i.e. all properties of the left operand are assigned to properties with the same name of the first operands. Data conversion is automatically done, when necessary.

Comparison makes sense, when left and right side are of the same complex data type. In this case, the properties of the instance are compared in sequence of definition as long as they are equal. When the first property is encountered, which is not equal, this determines the result of the comparison.

Generalisations:  type operation