TIAMin

From SCAR Divi Manual
Revision as of 17:54, 12 December 2012 by Freddy (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Definition

function TIAMin(const TIA: TIntArray): Integer;

Availability

SCAR Divi 3.34 > Current

Aliases

  • AMin (SCAR Divi 3.00 > 3.37)

Description

Returns the smallest number in a given TIA. The function throws an exception if the size of the given TIA is 0. An extended function with additional functionality is available as TIAMinEx.

Example

begin
  WriteLn(TIAMin([2, 4, 3, 6, 8, 5, 1, 2]));
end.

Output:

1

See Also