TFMTBCDField.CheckRange function
Check value if it is in the range defined by MinValue and MaxValue.
Declaration
function CheckRange(AValue: TBCD): BooleanArguments
AValue | Value to check. |
Function result
True if
AValue is in the range [
MinValue,
MaxValue].Description
CheckRange checks whether
AValue is between
MinValue and
MaxValue if they are both nonzero.
If either of them is zero, then
True is returned. The
MinValue and
MaxValue values themselves are also valid values.See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
