VarUtils.VarCmp

From RAD Studio VCL Reference
Jump to: navigation, search

Contents

Delphi Information

From VarUtils.pas

	VarCmp: function(Left: TVarData; Right: TVarData; LCID: Integer; Flags: Cardinal): HRESULT;


Unit: VarUtils

Type: variable

C++ Information

From VarUtils.hpp

	long (__stdcall *)(const TVarData &,const TVarData &,int,unsigned int) VarCmp;


Unit: VarUtils

Type: variable

Description

VarCmp is a variable used to specify the function that compares two variants.


Use VarCmp to specify the function that compares two variants, given through the Left and Right parameters. The LCID parameter is a locale identifier and Flags specifies the flags used in the comparison.

VarCmp returns the result of the comparison, which can be one of the following.



Result Meaning

VAR_CMP_LT

Left is less than Right

VAR_CMP_EQ

Left is equal to Right

VAR_CMP_GT

Left is greater than Right

VAR_CMP_NULL

Either one of Left or Right is nil.



See Also

Personal tools
Translations
Newest Version