[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Comparison 2 custom variant values
Source position: variants.pp line 208
public procedure TCustomVariantType.Compare( |
const Left: tvardata; |
const Right: tvardata; |
var Relationship: TVarCompareResult |
); virtual; |
Left |
|
Left operand |
Right |
|
Right operand |
Relationship |
|
Relationship to test |
Compare performs the comparison specified in Operation on left and Right and returns the result of the comparison. The TCustomVariantType implementation of this method raises an 'unsupported' error. Descendent classes must override this method.
If a descendent does not override this, an 'unsupported' error is raised.
|
Check result of a comparison between 2 custom variant values |
|
|
Perform a unary mathematical operation |
|
|
Perform a binary mathematical operation |