Difference between revisions of "AMax"
From SCAR Divi Manual
(Created page with "==Definition== <source lang="scar" lines="false"> function AMax(Data: TIntegerArray): Integer; </source> ==Availability== SCAR Divi 3.00 > Current ==Description== Returns the l...") |
|||
Line 1: | Line 1: | ||
==Definition== | ==Definition== | ||
<source lang="scar" lines="false"> | <source lang="scar" lines="false"> | ||
− | function AMax(Data: | + | function AMax(Data: TIntArray): Integer; |
</source> | </source> | ||
==Availability== | ==Availability== | ||
SCAR Divi 3.00 > Current | SCAR Divi 3.00 > Current | ||
+ | |||
+ | * '''AMax''' was a TIntegerArray before SCAR Divi 3.28. | ||
==Description== | ==Description== | ||
− | Returns the largest of a given [[ | + | Returns the largest of a given [[TIntArray]] of values '''Data'''. |
==Example== | ==Example== |
Revision as of 10:18, 21 October 2011
Definition
function AMax(Data: TIntArray): Integer;
Availability
SCAR Divi 3.00 > Current
- AMax was a TIntegerArray before SCAR Divi 3.28.
Description
Returns the largest of a given TIntArray of values Data.
Example
begin WriteLn(AMax([1, 2, 3, 4])); end.
Output:
4