Sign in Join
FPDoc Onlineexperiment

TCustomVariantType.UnaryOp procedure

Member of TCustomVariantTypepublicIn unit Variants

Perform a unary mathematical operation.

Declaration

pascal
procedure UnaryOp(var Right: tvardata; const Operation: tvarop)
 ; virtual

Arguments

Right

Operand and result.

Operation

Unary operation to perform.

Description

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

Errors

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

See also

  • BinaryOp
  • CompareOp

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.