Difference between revisions of "TIAMax"
From SCAR Divi Manual
(2 intermediate revisions by the same user not shown) | |||
Line 8: | Line 8: | ||
===Aliases=== | ===Aliases=== | ||
− | *AMax (SCAR Divi 3.00 > | + | *AMax (SCAR Divi 3.00 > 3.37) |
==Description== | ==Description== | ||
Line 26: | Line 26: | ||
*[[TIAMaxEx]] | *[[TIAMaxEx]] | ||
*[[TIAMin]] | *[[TIAMin]] | ||
+ | *[[TIARange]] | ||
[[Category:Functions]] | [[Category:Functions]] | ||
[[Category:TIA Functions]] | [[Category:TIA Functions]] | ||
[[Category:Array Functions]] | [[Category:Array Functions]] | ||
+ | [[Category:Math Functions]] |
Latest revision as of 16:54, 12 December 2012
Definition
function TIAMax(const TIA: TIntArray): Integer;
Availability
SCAR Divi 3.34 > Current
Aliases
- AMax (SCAR Divi 3.00 > 3.37)
Description
Returns the largest 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 TIAMaxEx.
Example
begin WriteLn(TIAMax([2, 4, 3, 6, 8, 5, 1, 2])); end.
Output:
8