Difference between revisions of "TIAMax"
From SCAR Divi Manual
(Created page with "==Definition== <source lang="scar" lines="false"> function TIAMax(const TIA: TIntArray): Integer; </source> ==Availability== SCAR Divi 3.34 > Current ==Description== Returns th...") |
(No difference)
|
Revision as of 12:37, 23 April 2012
Definition
function TIAMax(const TIA: TIntArray): Integer;
Availability
SCAR Divi 3.34 > Current
Description
Returns the largest number in a given TIA. An extended function with additional functionality is available as TIAMaxEx.
Example
begin WriteLn(TIAMax([2, 4, 3, 6, 8, 5, 1, 2])); end.
Output:
8