Difference between revisions of "TIARange"

From SCAR Divi Manual
Jump to: navigation, search
(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...")
(No difference)

Revision as of 10:33, 21 October 2011

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