Sign in Join
FPDoc Onlineexperiment

TBCDField.CheckRange function

Member of TBCDFieldpublicIn unit DB

Check whether a values falls within the allowed range.

Declaration

pascal
function CheckRange(AValue: Currency): Boolean

Arguments

AValue

Value to check.

Function result

True if AValue falls in the allowed range of values.

Description

CheckRange returns True if AValue lies within the range defined by the MinValue and MaxValue properties. If the value lies outside of the allowed range, then False is returned.

See also

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