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

TNullCompareRule

Enumeration describing how to handle Null values when comparing variants.

Declaration

Source position: variants.pp line 59

type TNullCompareRule = (

  ncrError,

  

Raise an error when one of the values is Null.

  ncrStrict,

  

Act as if the comparison is false.

  ncrLoose

  

Attempt to compare anyway.

);

Description

TNullCompareRule is the type for the NullEqualityRule and NullMagnitudeRule variables. It can have the following values:

ncrError
Raise an error when one of the values is Null.
ncrStrict
Act as if the comparison is false.
ncrLoose
Attempt to compare anyway.

Documentation generated on: Nov 22 2024