From Appmethod Libraries
Jump to: navigation, search

Object Pascal

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


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


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


VarMod is a function type variable that specifies the function that calculates the remainder on division of two variants.

Use VarMod to specify the function that calculates the remainder on the division of the two variants given through the Left and Right parameters. 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