Unit 'Variants' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#rtl]

VarInvalidOp

Raise a EVariantInvalidOpError error.

Declaration

Source position: variants.pp line 302

procedure VarInvalidOp;

procedure VarInvalidOp(

  const aLeft: TVarType;

  const aRight: TVarType;

  aOpCode: TVarOp

);

procedure VarInvalidOp(

  const aRight: TVarType;

  aOpCode: TVarOp

);

Arguments

aLeft

  

Left operand variant type.

aRight

  

Right operand variant type.

aOpCode

  

Operation performed.

Arguments

aRight

  

Right operand variant type.

aOpCode

  

Operation performed.

Description

VarInvalidOp raises an EVariantInvalidOpError exception. when the left and/or right operand types (aLeft, aRight and the operation are specified, a description of the operand types and operation is included in the error message.

See also

EVariantInvalidOpError

  

Error raised when an invalid operation is performed.

VarCastError

  

Raise a variant type cast error EVariantTypeCastError.


Documentation generated on: Dec 26 2024