TIARange

From SCAR Divi Manual
Revision as of 10:33, 21 October 2011 by Freddy (talk | contribs) (Created page with "==Definition== <source lang="scar" lines="false"> procedure TIARange(const TIA: TIntArray; out Lo, Hi: Integer); </source> ==Availability== SCAR Divi 3.28 > Current ==Descripti...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Definition

procedure TIARange(const TIA: TIntArray; out Lo, Hi: Integer);

Availability

SCAR Divi 3.28 > Current

Description

This function determines the lowest and highest values in the given TIntArray TIA and returns them in Lo and Hi.

Example

var
  Lo, Hi: Integer;

begin
  TIARange([1, 2, 3], Lo, Hi);
  WriteLn(Lo);
  WriteLn(Hi);
end.

Output:

1
3