company logo

Binary operation

Binary operations work differently depending on the type of the properties. When working with operands of different types, the first operand (left) determines the type of operation and the second operand (right) will be converted into the format of the first operand. When no conversion is supported for the right operand, the empty value according to the operation type is used.

Definition: 

bin_op := '^' | '%' | '+' | '-' | '*' | '/' | _and | _or | _xor | '>' | '<' | '==' | '<=' | '>=' | '<>' | '!=' | '=' | ':='

Related topics