Sign in Join
FPDoc Onlineexperiment

InRange function

In unit Math

Check whether value is in range.

Declaration

pascal
function InRange(const AValue: Integer; const AMin: Integer; 
 const AMax: Integer): Boolean; overload

Description

InRange returns True if AValue is in the range AMin.. AMax. It returns False if Value lies outside the specified range.

See also

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