System.VarUtils.VarIDiv

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

VarIDiv: function(const Left, Right: TVarData; var AResult: TVarData): HRESULT; stdcall;

C++

extern DELPHI_PACKAGE HRESULT __stdcall (*VarIDiv)(const TVarData &Left, const TVarData &Right, TVarData &AResult);

Properties

Type Visibility Source Unit Parent
variable public
System.VarUtils.pas
System.VarUtils.hpp
System.VarUtils System.VarUtils

Description

VarIDiv is a function type variable that specifies the function making the division operation between two variants, after converting the variants to integers.

Use VarIDiv to specify the function that makes the division operation between the two variants given through the Left and Right parameters, after converting the variants to integers. The result is stored in the AResult parameter.

The function specified through VarNot returns a value of type HResult. For a list of possible return values, see the VAR_ constants in the VarUtils unit.

See Also