help files
Z505 | PasWiki | FUQ | Search | Main Docs | API Guide



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

InRange

Check whether value is in range.

Declaration

Source position: line 0

function InRange(

  const AValue: Integer;

  const AMin: Integer;

  const AMax: Integer

):Boolean;

function InRange(

  const AValue: Int64;

  const AMin: Int64;

  const AMax: Int64

):Boolean;

Description

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

See also

EnsureRange

  

Change value to it falls in specified range.

Notes

 No notes exist for this page yet. 





lufdoc, Powtils, fpc, freepascal, delphi, kylix, c/c++, mysql, cgi web framework docs, Z505