Sign in Join
FPDoc Onlineexperiment

TNullCompareRule enumeration

In unit Variants

Enumeration describing how to handle Null values when comparing variants.

Declaration

pascal
TNullCompareRule = (ncrError,ncrStrict,ncrLoose)

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.

Values

ncrErrorRaise an error when one of the values is Null.
ncrStrictAct as if the comparison is false.
ncrLooseAttempt to compare anyway.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.