TIARange

From SCAR Divi Manual
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