TCustomVariantType.BinaryOp

Perform a binary mathematical operation

Declaration

Source position: variants.pp line 205

public 
  procedure BinaryOp(var Left: tvardata; const Right: tvardata; 
                    const Operation: tvarop);  Virtual;

Description

BinaryOp performs Operation on Left and Right and stores the result of the result in Left. The TCustomVariantType implementation of this method raises an invalid operation error. Descendent classes must override this.

Errors

If a descendent does not override this, an invalid operation error is raised.

See also

Name Description
=TCustomVariantType.CompareOp
=TCustomVariantType.UnaryOp