[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'System' (#rtl)

tvarop

Variant operation.

Declaration

Source position: varianth.inc line 76

type tvarop = (

  opadd,

  

Variant operation: Addition.

  opsubtract,

  

Variant operation: Substraction

  opmultiply,

  

Variant operation: multiplication

  opdivide,

  

Variant operation: division

  opintdivide,

  

Variant operation: integer divide

  opmodulus,

  

Variant operation: Modulus

  opshiftleft,

  

Variant operation: Shift left

  opshiftright,

  

Variant operation: Shift right

  opand,

  

Variant operation: Binary AND operation

  opor,

  

Variant operation: Binary OR operation

  opxor,

  

Variant operation: binary XOR operation.

  opcompare,

  

Variant operation: Compare

  opnegate,

  

Variant operation: negation.

  opnot,

  

Variant operation: Binary NOT operation.

  opcmpeq,

  

Variant operation: Compare equal.

  opcmpne,

  

Variant operation: Compare not equal

  opcmplt,

  

Variant operation: Compare less than.

  opcmple,

  

Variant operation: Compare less than or equal to

  opcmpgt,

  

Variant operation: Compare larger than

  opcmpge,

  

Variant operation: Compare larger than or equal

  oppower

  

Variant operation: Power

);

Description

tvarop describes a variant operation. It is mainly used for the variant manager to implement the various conversions and mathematical operations on a variant.

See also

TVariantManager

  

Record describing the variant manager.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.