[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Variants' (#rtl)

TNullCompareRule

Enumeration describing how to handle Null values when comparing variants.

Declaration

Source position: variants.pp line 52

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: Jun 22 2020